diff options
| author | Luke Plant <L.Plant.98@cantab.net> | 2009-09-26 19:39:42 +0000 |
|---|---|---|
| committer | Luke Plant <L.Plant.98@cantab.net> | 2009-09-26 19:39:42 +0000 |
| commit | a97648a7e03fb95b09e888e5d59d82d57fb289b7 (patch) | |
| tree | cc4ad66e8c4e0696be12aaf5f4dc364930823330 /tests | |
| parent | d6c2286712c141252537fd8b2695660127b9bba7 (diff) | |
Corrected regressions introduced in r11586 and r11593
I read the order of arguments in the docs incorrectly, doh!
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11594 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/regressiontests/decorators/tests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/regressiontests/decorators/tests.py b/tests/regressiontests/decorators/tests.py index 8e38ad11ed..64d2d7df73 100644 --- a/tests/regressiontests/decorators/tests.py +++ b/tests/regressiontests/decorators/tests.py @@ -105,7 +105,7 @@ class DecoratorsTest(TestCase): """ def my_view(request): return "response" - my_view_cached = cache_page(123, my_view) + my_view_cached = cache_page(my_view, 123) self.assertEqual(my_view_cached(HttpRequest()), "response") class MethodDecoratorAdapterTests(TestCase): |
