Browse Source

Dejo static root como en jugaralpadel

main
Celestino Rey 10 months ago
parent
commit
dcfc00cf70
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/mysite/settings.py

+ 2
- 2
src/mysite/settings.py View File

@ -128,10 +128,10 @@ USE_TZ = True
# https://docs.djangoproject.com/en/5.1/howto/static-files/ # 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')
STATIC_ROOT = BASE_DIR / "staticfiles"
MEDIA_URL = '/media/' MEDIA_URL = '/media/'
MEDIA_ROOT = os.path.join(BASE_DIR, 'wsgi', 'static', 'mediafiles')
MEDIA_ROOT = BASE_DIR / "mediafiles"
# Default primary key field type # Default primary key field type
# https://docs.djangoproject.com/en/5.1/ref/settings/#default-auto-field # https://docs.djangoproject.com/en/5.1/ref/settings/#default-auto-field


Loading…
Cancel
Save