Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix typo in comment

  • Loading branch information...
commit d179794c6bb6a7bfb6515b9cd1842bfebcee52c8 1 parent edf7ad3
@strongriley strongriley authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  django/template/defaulttags.py
View
2  django/template/defaulttags.py
@@ -401,7 +401,7 @@ def render(self, context):
# 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)
Please sign in to comment.
Something went wrong with that request. Please try again.