summaryrefslogtreecommitdiff
path: root/tests/regressiontests/context_processors
diff options
context:
space:
mode:
authorRussell Keith-Magee <russell@keith-magee.com>2010-11-20 06:22:28 +0000
committerRussell Keith-Magee <russell@keith-magee.com>2010-11-20 06:22:28 +0000
commit7ff5580d95f6bb40f12a0b90f51570e23b014a2d (patch)
treee199283d9ed599f552abfb9f7fefaea551b7b3b5 /tests/regressiontests/context_processors
parent591ad8afbf7a2b32825e81866f387d4eb1938a4e (diff)
Fixed #14389, #9666 -- Started the migration path to make the first argument to url and ssi template tags syntactically consistent with other tags. Thanks to Sean Brant for the draft patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14643 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'tests/regressiontests/context_processors')
-rw-r--r--tests/regressiontests/context_processors/templates/context_processors/auth_attrs_user.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/regressiontests/context_processors/templates/context_processors/auth_attrs_user.html b/tests/regressiontests/context_processors/templates/context_processors/auth_attrs_user.html
index 7ed16d7867..5df2a344cc 100644
--- a/tests/regressiontests/context_processors/templates/context_processors/auth_attrs_user.html
+++ b/tests/regressiontests/context_processors/templates/context_processors/auth_attrs_user.html
@@ -1,4 +1,4 @@
-unicode: {{ user }}
+{% load url from future %}unicode: {{ user }}
id: {{ user.id }}
username: {{ user.username }}
-url: {% url userpage user %}
+url: {% url 'userpage' user %}