Skip to content
This repository has been archived by the owner on Jun 29, 2020. It is now read-only.

Commit

Permalink
ContextにRequest追加した
Browse files Browse the repository at this point in the history
  • Loading branch information
giginet committed Jun 30, 2014
1 parent d71d92f commit ee5692e
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/kawaz/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,16 @@
os.path.join(REPOSITORY_ROOT, 'src', 'kawaz', 'templates'),
)

TEMPLATE_CONTEXT_PROCESSORS = (
"django.contrib.auth.context_processors.auth",
"django.core.context_processors.debug",
"django.core.context_processors.i18n",
"django.core.context_processors.media",
"django.core.context_processors.static",
"django.core.context_processors.tz",
"django.contrib.messages.context_processors.messages"
)

LOGIN_URL = '/registration/login/'
LOGOUT_URL = '/registration/logout/'
LOGIN_REDIRECT_URL = '/'
Expand Down

0 comments on commit ee5692e

Please sign in to comment.