diff options
| author | Carl Meyer <carl@oddbird.net> | 2011-02-01 00:31:34 +0000 |
|---|---|---|
| committer | Carl Meyer <carl@oddbird.net> | 2011-02-01 00:31:34 +0000 |
| commit | cda07b4cfaf92fe82f58d3d6ca6e64ea40502b0d (patch) | |
| tree | 714374d0e865536d800a04db6b8f07466cfad9d3 /tests/regressiontests/cache/urls.py | |
| parent | 432ff76035efafba73a81bab5b0c12482acdb1fe (diff) | |
[1.2.X] Fixed #13283 -- Corrected CACHE_MIDDLEWARE_ANONYMOUS_ONLY's bad habit of setting Vary: Cookie on all responses and destroying cache efficiency. Thanks to natrius for the fix.
Backport of r15381 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15382 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'tests/regressiontests/cache/urls.py')
| -rw-r--r-- | tests/regressiontests/cache/urls.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/regressiontests/cache/urls.py b/tests/regressiontests/cache/urls.py new file mode 100644 index 0000000000..b98447bfa3 --- /dev/null +++ b/tests/regressiontests/cache/urls.py @@ -0,0 +1,5 @@ +from django.conf.urls.defaults import patterns + +urlpatterns = patterns('regressiontests.cache.views', + (r'^$', 'home'), +) |
