utilise settings.SITE_URL pour les adresses abolues

This commit is contained in:
Benjamin Dauvergne 2012-07-19 15:42:10 +02:00
parent 1c7033d019
commit 01c96ade96
2 changed files with 5 additions and 0 deletions

View File

@ -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)
#

View File

@ -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