Browse Source

Actualizo rutas static y media

main
creylopez 10 months ago
parent
commit
be23010f39
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      src/mysite/settings.py

+ 4
- 1
src/mysite/settings.py View File

@ -127,9 +127,12 @@ USE_TZ = True
# Static files (CSS, JavaScript, Images)
# https://docs.djangoproject.com/en/5.1/howto/static-files/
STATIC_URL = 'static/'
STATIC_URL = '/static/'
STATIC_ROOT = os.path.join(BASE_DIR, 'wsgi', 'static')
MEDIA_URL = '/media/'
MEDIA_ROOT = os.path.join(BASE_DIR, 'wsgi', 'static', 'mediafiles')
# Default primary key field type
# https://docs.djangoproject.com/en/5.1/ref/settings/#default-auto-field


Loading…
Cancel
Save