summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRiley Strong <eponymous@rileystrong.com>2012-11-19 19:31:21 -0600
committerRiley Strong <eponymous@rileystrong.com>2012-11-19 19:31:21 -0600
commitd179794c6bb6a7bfb6515b9cd1842bfebcee52c8 (patch)
treea4e091a52c9eb48ea23de8b3032a086220b66c6f
parentedf7ad36faab8d45aafe1f96feaf46794de22fc1 (diff)
Fix typo in comment
-rw-r--r--django/template/defaulttags.py2
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)