utilise settings.SITE_URL pour les adresses abolues
This commit is contained in:
parent
1c7033d019
commit
01c96ade96
|
@ -24,6 +24,9 @@ DATABASES = {
|
|||
# }
|
||||
#}
|
||||
|
||||
# The default site URL
|
||||
SITE_URL = 'https://polynum.univ.fr'
|
||||
|
||||
#
|
||||
# Upload directory (polynum must have read+write permissions on it)
|
||||
#
|
||||
|
|
|
@ -41,6 +41,8 @@ LANGUAGE_CODE = 'fr-fr'
|
|||
|
||||
SITE_ID = 1
|
||||
|
||||
SITE_URL = 'http://polynum.example.com'
|
||||
|
||||
# If you set this to False, Django will make some optimizations so as not
|
||||
# to load the internationalization machinery.
|
||||
USE_I18N = True
|
||||
|
|
Reference in New Issue