Mercurial > agora
changeset 25:7e31bce6ea7b
Update settings-example.py
author | Jordi Gutiérrez Hermoso <jordigh@gmail.com> |
---|---|
date | Mon, 28 Jun 2010 09:42:57 -0500 |
parents | 2e7226e90157 |
children | d534172de5d5 |
files | settings-example.py |
diffstat | 1 files changed, 10 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/settings-example.py Mon Jun 28 03:00:01 2010 -0500 +++ b/settings-example.py Mon Jun 28 09:42:57 2010 -0500 @@ -96,6 +96,14 @@ #For how long a registration link will remain active ACCOUNT_ACTIVATION_DAYS = 1 +TEMPLATE_CONTEXT_PROCESSORS = ( + "django.core.context_processors.auth", + "django.core.context_processors.debug", + "django.core.context_processors.i18n", + "django.core.context_processors.media", + "django.core.context_processors.request", +) + INSTALLED_APPS = ( 'django.contrib.auth', 'django.contrib.contenttypes', @@ -113,3 +121,5 @@ 'agora.apps.bundle', 'agora.apps.free_license', ) + +LOGIN_REDIRECT_URL='/'