forked from DGNum/gestioCOF
Ajout de MEDIA_{ROOT,URL}
This commit is contained in:
parent
58cade22d3
commit
cd73d4e96d
3 changed files with 17 additions and 1 deletions
|
@ -116,6 +116,12 @@ USE_TZ = True
|
|||
|
||||
STATIC_URL = '/static/'
|
||||
|
||||
# Media upload (through ImageField, SiteField)
|
||||
# https://docs.djangoproject.com/en/1.9/ref/models/fields/
|
||||
|
||||
MEDIA_ROOT = './media/'
|
||||
MEDIA_URL = '/media/'
|
||||
|
||||
# Various additional settings
|
||||
SITE_ID = 1
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue