Redirect on urls with no scheme, reset flash session

This commit is contained in:
Jonathan Cremin 2015-01-18 01:37:28 +00:00
parent d52fea9afa
commit bc1c5ff08a
3 changed files with 34 additions and 22 deletions

View file

@ -24,11 +24,8 @@ ALLOWED_HOSTS = ['*']
# Application definition
INSTALLED_APPS = (
'django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'links',
)
@ -67,7 +64,7 @@ USE_I18N = True
USE_L10N = True
USE_TZ = True
USE_TZ = False
# Static files (CSS, JavaScript, Images)
# https://docs.djangoproject.com/en/1.7/howto/static-files/