Skip to content

Commit

Permalink
Fixed #9675: added note about upgrading the URLconf to the comment up…
Browse files Browse the repository at this point in the history
…grade guide.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@10746 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information
jacobian committed May 12, 2009
1 parent e7fdfa1 commit d083396
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions docs/ref/contrib/comments/upgrade.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,15 @@ The main changes from the old system are:
functions: ``{% get_comment_form %}``, which returns a form for posting a
new comment, and ``{% render_comment_form %}``, which renders said form
using the ``comments/form.html`` template.

* The way comments are include in your URLconf have changed; you'll need to
replace::

(r'^comments/', include('django.contrib.comments.urls.comments')),

with::

(r'^comments/', include('django.contrib.comments.urls')),

Upgrading data
--------------
Expand Down

0 comments on commit d083396

Please sign in to comment.