added authentication

This commit is contained in:
2015-06-19 15:09:50 +01:00
parent e6791bf41a
commit 16c74cebe9
11 changed files with 74 additions and 11 deletions

View File

@@ -38,6 +38,7 @@ INSTALLED_APPS = (
'django.contrib.messages',
'django.contrib.staticfiles',
'comic',
'comic_auth',
)
MIDDLEWARE_CLASSES = (
@@ -101,3 +102,7 @@ USE_TZ = True
# https://docs.djangoproject.com/en/1.8/howto/static-files/
STATIC_URL = '/static/'
LOGIN_REDIRECT_URL = '/comic/'
LOGIN_URL = '/login/'