mirror of
https://github.com/django/django.git
synced 2025-07-24 05:36:15 +00:00
Fixed #18625 -- Removed old-style use of url tag
from the documentation.
This commit is contained in:
parent
c57abd3c29
commit
fb46f243b4
3 changed files with 6 additions and 6 deletions
|
@ -250,7 +250,7 @@ Redirecting after the comment post
|
|||
To specify the URL you want to redirect to after the comment has been posted,
|
||||
you can include a hidden form input called ``next`` in your comment form. For example::
|
||||
|
||||
<input type="hidden" name="next" value="{% url my_comment_was_posted %}" />
|
||||
<input type="hidden" name="next" value="{% url 'my_comment_was_posted' %}" />
|
||||
|
||||
.. _notes-on-the-comment-form:
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue