diff options
| author | Riley Strong <eponymous@rileystrong.com> | 2012-11-19 19:31:21 -0600 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2012-11-20 05:03:22 -0500 |
| commit | e56c8d7e0ac253f7c136584d9a09fed7a4c5db29 (patch) | |
| tree | f9b31e189c659e862835aac442c2e1a53b364d2d | |
| parent | 3a0e0230f76131cf23c0fdd0b18f3dd718c0f62f (diff) | |
[1.5.X] Fixed typo in django.template.defaulttags
Backport of d179794c6b from master
| -rw-r--r-- | django/template/defaulttags.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/template/defaulttags.py b/django/template/defaulttags.py index fa2e840cbf..380db41d43 100644 --- a/django/template/defaulttags.py +++ b/django/template/defaulttags.py @@ -401,7 +401,7 @@ class URLNode(Node): # Try to look up the URL twice: once given the view name, and again # relative to what we guess is the "main" app. If they both fail, # re-raise the NoReverseMatch unless we're using the - # {% url ... as var %} construct in which cause return nothing. + # {% url ... as var %} construct in which case return nothing. url = '' try: url = reverse(view_name, args=args, kwargs=kwargs, current_app=context.current_app) |
