diff options
| author | Russell Keith-Magee <russell@keith-magee.com> | 2010-11-20 06:22:28 +0000 |
|---|---|---|
| committer | Russell Keith-Magee <russell@keith-magee.com> | 2010-11-20 06:22:28 +0000 |
| commit | 7ff5580d95f6bb40f12a0b90f51570e23b014a2d (patch) | |
| tree | e199283d9ed599f552abfb9f7fefaea551b7b3b5 /tests/regressiontests/context_processors | |
| parent | 591ad8afbf7a2b32825e81866f387d4eb1938a4e (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.html | 4 |
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 %} |
