mirror of
https://github.com/django/django.git
synced 2025-09-26 12:09:19 +00:00
Fix typo in comment
This commit is contained in:
parent
edf7ad36fa
commit
d179794c6b
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue