podjango: Configure uploaded media directory
This commit is contained in:
parent
1969478a69
commit
3485926915
1 changed files with 1 additions and 0 deletions
|
|
@ -129,6 +129,7 @@ STATICFILES_DIRS = [
|
|||
BASE_DIR / 'static',
|
||||
]
|
||||
|
||||
MEDIA_ROOT = BASE_DIR / 'media'
|
||||
MEDIA_URL = '/media/'
|
||||
|
||||
MIDDLEWARE = [
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue