From d08339686bc16e7a4765d909036297b8af95ea3b Mon Sep 17 00:00:00 2001 From: Jacob Kaplan-Moss Date: Tue, 12 May 2009 17:23:43 +0000 Subject: [PATCH] Fixed #9675: added note about upgrading the URLconf to the comment upgrade guide. git-svn-id: http://code.djangoproject.com/svn/django/trunk@10746 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- docs/ref/contrib/comments/upgrade.txt | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/docs/ref/contrib/comments/upgrade.txt b/docs/ref/contrib/comments/upgrade.txt index b3656f31dd..dc9bff868c 100644 --- a/docs/ref/contrib/comments/upgrade.txt +++ b/docs/ref/contrib/comments/upgrade.txt @@ -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 --------------