mirror of https://github.com/django/django.git
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
This commit is contained in:
parent
e7fdfa14a4
commit
d08339686b
|
@ -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
|
||||
--------------
|
||||
|
|
Loading…
Reference in New Issue