Static Folders and CSS

This commit is contained in:
2020-07-26 22:23:55 +02:00
parent 114ec0d1ea
commit 44128caa6b
3 changed files with 216 additions and 1 deletions

View File

@@ -119,3 +119,9 @@ USE_TZ = True
# https://docs.djangoproject.com/en/3.0/howto/static-files/
STATIC_URL = '/static/'
STATICFILES_DIRS = [
os.path.join(BASE_DIR, "static")
]
MEDIA_URL = '/uploads/'
MEDIA_ROOT = os.path.join(BASE_DIR, 'uploads')