diff options
| author | Tom Christie | 2011-12-14 20:10:06 +0000 |
|---|---|---|
| committer | Tom Christie | 2011-12-14 20:10:06 +0000 |
| commit | d53f7f45b4297aaf247aefd85093e2a0b413b4c4 (patch) | |
| tree | 798c3f7b546ecaeb0449d508519e9a1425e30b47 /djangorestframework/tests/models.py | |
| parent | 050f07e7b1c53426d5234f9aa61d9a2461a6aeff (diff) | |
| download | django-rest-framework-d53f7f45b4297aaf247aefd85093e2a0b413b4c4.tar.bz2 | |
Use 1.4's CSRFMiddleware, so that PUT and DELETE get CSRF validation if session authentication is being used
Diffstat (limited to 'djangorestframework/tests/models.py')
| -rw-r--r-- | djangorestframework/tests/models.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/djangorestframework/tests/models.py b/djangorestframework/tests/models.py index 61da1d45..39ac59e7 100644 --- a/djangorestframework/tests/models.py +++ b/djangorestframework/tests/models.py @@ -25,4 +25,4 @@ class UserGroupMap(models.Model): def get_absolute_url(self):
return ('user_group_map', (), {
'pk': self.id
- })
\ No newline at end of file + })
|
