mirror of
https://github.com/django/django.git
synced 2025-10-23 21:59:11 +00:00
Fixed #18625 -- Removed old-style use of url tag
from the documentation.
This commit is contained in:
@@ -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:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user