Redirect on urls with no scheme, reset flash session
This commit is contained in:
parent
d52fea9afa
commit
bc1c5ff08a
3 changed files with 34 additions and 22 deletions
|
@ -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/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue