summaryrefslogtreecommitdiff
path: root/docs/ref/contrib/comments/index.txt
diff options
context:
space:
mode:
Diffstat (limited to 'docs/ref/contrib/comments/index.txt')
-rw-r--r--docs/ref/contrib/comments/index.txt14
1 files changed, 6 insertions, 8 deletions
diff --git a/docs/ref/contrib/comments/index.txt b/docs/ref/contrib/comments/index.txt
index 9f1d3cd6e4..817871e976 100644
--- a/docs/ref/contrib/comments/index.txt
+++ b/docs/ref/contrib/comments/index.txt
@@ -1,5 +1,3 @@
-.. _ref-contrib-comments-index:
-
===========================
Django's comments framework
===========================
@@ -16,7 +14,7 @@ it for comments on blog entries, photos, book chapters, or anything else.
.. note::
If you used to use Django's older (undocumented) comments framework, you'll
- need to upgrade. See the :ref:`upgrade guide <ref-contrib-comments-upgrade>`
+ need to upgrade. See the :doc:`upgrade guide </ref/contrib/comments/upgrade>`
for instructions.
Quick start guide
@@ -42,7 +40,7 @@ To get started using the ``comments`` app, follow these steps:
#. Use the `comment template tags`_ below to embed comments in your
templates.
-You might also want to examine :ref:`ref-contrib-comments-settings`.
+You might also want to examine :doc:`/ref/contrib/comments/settings`.
Comment template tags
=====================
@@ -124,7 +122,7 @@ For example::
{% endfor %}
This returns a list of :class:`~django.contrib.comments.models.Comment` objects;
-see :ref:`the comment model documentation <ref-contrib-comments-models>` for
+see :doc:`the comment model documentation </ref/contrib/comments/models>` for
details.
.. templatetag:: get_comment_permalink
@@ -212,7 +210,7 @@ Rendering a custom comment form
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
If you want more control over the look and feel of the comment form, you use use
-:ttag:`get_comment_form` to get a :ref:`form object <topics-forms-index>` that
+:ttag:`get_comment_form` to get a :doc:`form object </topics/forms/index>` that
you can use in the template::
{% get_comment_form for [object] as [varname] %}
@@ -279,8 +277,8 @@ should know about:
it with a warning field; if you use the comment form with a custom
template you should be sure to do the same.
-The comments app also depends on the more general :ref:`Cross Site Request
-Forgery protection < ref-contrib-csrf>` that comes with Django. As described in
+The comments app also depends on the more general :doc:`Cross Site Request
+Forgery protection </ref/contrib/csrf>` that comes with Django. As described in
the documentation, it is best to use ``CsrfViewMiddleware``. However, if you
are not using that, you will need to use the ``csrf_protect`` decorator on any
views that include the comment form, in order for those views to be able to