diff options
| author | Tim Graham <timograham@gmail.com> | 2012-11-20 02:02:54 -0800 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2012-11-20 02:02:54 -0800 |
| commit | 6cb4233aa2afa39842177046d577c2f5da5274a7 (patch) | |
| tree | a4e091a52c9eb48ea23de8b3032a086220b66c6f | |
| parent | edf7ad36faab8d45aafe1f96feaf46794de22fc1 (diff) | |
| parent | d179794c6bb6a7bfb6515b9cd1842bfebcee52c8 (diff) | |
Merge pull request #544 from strongriley/master
Fixed typo in django.template.defaulttags
| -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) |
