Changeset cec082b for asadb/settings.py


Ignore:
Timestamp:
Mar 19, 2012, 11:13:56 PM (14 years ago)
Author:
Alex Dehnert <adehnert@…>
Branches:
master, space-access, stable, stage
Children:
b8a9c68
Parents:
3437855
git-author:
Alex Dehnert <adehnert@…> (03/19/12 23:13:56)
git-committer:
Alex Dehnert <adehnert@…> (03/19/12 23:13:56)
Message:

Redirect back to page on login (Trac #68)

See also
http://stackoverflow.com/questions/806835/django-redirect-to-previous-page-after-login.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • asadb/settings.py

    r8d36a62 rcec082b  
    8383)
    8484
     85TEMPLATE_CONTEXT_PROCESSORS = (
     86    "django.core.context_processors.auth",
     87    "django.core.context_processors.debug",
     88    "django.core.context_processors.i18n",
     89    "django.core.context_processors.media",
     90    "django.core.context_processors.request",
     91)
     92
    8593MIDDLEWARE_CLASSES = [
    8694    'django.middleware.common.CommonMiddleware',
Note: See TracChangeset for help on using the changeset viewer.