From d179794c6bb6a7bfb6515b9cd1842bfebcee52c8 Mon Sep 17 00:00:00 2001 From: Riley Strong Date: Mon, 19 Nov 2012 19:31:21 -0600 Subject: [PATCH] Fix typo in comment --- django/template/defaulttags.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django/template/defaulttags.py b/django/template/defaulttags.py index fa2e840cbf2..380db41d43d 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)