Actually support logging in without using the admin interface

This commit is contained in:
Magnus Hagander
2009-09-16 15:07:23 +02:00
parent c24eea14ab
commit f023480689
4 changed files with 37 additions and 2 deletions

View File

@ -70,6 +70,10 @@ TEMPLATE_DIRS = (
'../templates/',
)
LOGIN_URL='/account/login/'
LOGIN_REDIRECT_URL='/account/'
LOGOUT_URL='/account/logout/'
INSTALLED_APPS = [
'django.contrib.auth',
'django.contrib.contenttypes',