projects
/
matthijs
/
projects
/
dorestad-bookings.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
06d2516
)
settings: Enable CSRF protection middleware.
author
Matthijs Kooijman
<matthijs@stdin.nl>
Tue, 19 Oct 2010 08:54:14 +0000
(10:54 +0200)
committer
Matthijs Kooijman
<matthijs@stdin.nl>
Tue, 19 Oct 2010 09:03:20 +0000
(11:03 +0200)
settings.py
patch
|
blob
|
history
diff --git
a/settings.py
b/settings.py
index ff1d118f2ffe7d3f07f17a4b66155d43d8059f7b..c6bd83d6a5771d0b205f27bd1cdade4fdd01d029 100644
(file)
--- a/
settings.py
+++ b/
settings.py
@@
-63,6
+63,7
@@
MIDDLEWARE_CLASSES = (
'django.middleware.common.CommonMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
+ 'django.middleware.csrf.CsrfViewMiddleware',
)
ROOT_URLCONF = 'dorestad-bookings.urls'