X-Git-Url: http://gitweb.fperrin.net/?p=djsite.git;a=blobdiff_plain;f=djsite%2Fsettings.py;h=4c0385e62b73941ecf430c1f0af922cef387e3b8;hp=f8a06058a40bfdae467122d72b49b110c328ddc6;hb=5c563ff1701456a2ca7108a301e4e48457475daa;hpb=242b0beb0eff7c97205b0bbe3747118b70ff1ee9 diff --git a/djsite/settings.py b/djsite/settings.py index f8a0605..4c0385e 100644 --- a/djsite/settings.py +++ b/djsite/settings.py @@ -25,8 +25,7 @@ SECRET_KEY = 's665xl1i*aa@k@-!3xnga&qf47^hl*g9z7z7r51e_3*5vqi7=m' # SECURITY WARNING: don't run with debug turned on in production! DEBUG = True -ALLOWED_HOSTS = [] - +ALLOWED_HOSTS = ['quotes.fperrin.net'] # Application definition @@ -37,6 +36,7 @@ INSTALLED_APPS = ( 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', + 'tagging', 'tinymce', 'quotes', ) @@ -97,6 +97,7 @@ USE_L10N = True USE_TZ = True +USE_X_FORWARDED_HOST = True # Static files (CSS, JavaScript, Images) # https://docs.djangoproject.com/en/1.8/howto/static-files/