diff options
| author | Jacob Kaplan-Moss <jacob@jacobian.org> | 2009-05-12 17:23:43 +0000 |
|---|---|---|
| committer | Jacob Kaplan-Moss <jacob@jacobian.org> | 2009-05-12 17:23:43 +0000 |
| commit | d08339686bc16e7a4765d909036297b8af95ea3b (patch) | |
| tree | 2cd64a9fbdd638d7221bd110c03be7f899c41a8b /docs/ref | |
| parent | e7fdfa14a4da1c3a231679800ed5a8e790c72ee5 (diff) | |
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
Diffstat (limited to 'docs/ref')
| -rw-r--r-- | docs/ref/contrib/comments/upgrade.txt | 9 |
1 files changed, 9 insertions, 0 deletions
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 -------------- |
