mirror of
https://github.com/seanmorley15/AdventureLog.git
synced 2025-07-22 22:39:36 +02:00
Refactor media and static file paths; update countries JSON download URL to use COUNTRY_REGION_JSON_VERSION
This commit is contained in:
parent
c27bf4baba
commit
de45296dc1
2 changed files with 4 additions and 5 deletions
|
@ -136,8 +136,8 @@ STATIC_ROOT = BASE_DIR / "staticfiles"
|
|||
STATIC_URL = '/static/'
|
||||
|
||||
MEDIA_URL = '/media/'
|
||||
MEDIA_ROOT = os.path.join(BASE_DIR, 'media')
|
||||
STATICFILES_DIRS = [os.path.join(BASE_DIR, 'static')]
|
||||
MEDIA_ROOT = BASE_DIR / 'media'
|
||||
STATICFILES_DIRS = [BASE_DIR / 'static']
|
||||
|
||||
# TEMPLATE_DIRS = [os.path.join(BASE_DIR, 'templates')]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue