diff options
| author | Russell Keith-Magee <russell@keith-magee.com> | 2010-10-28 12:16:39 +0000 |
|---|---|---|
| committer | Russell Keith-Magee <russell@keith-magee.com> | 2010-10-28 12:16:39 +0000 |
| commit | 3a679cc1c458c4e31fc22e511e9bc51ed939f102 (patch) | |
| tree | 65ef5d850df8d4e8fffe99612f8e37c0a73014a1 | |
| parent | 181f26428abf3679e2b747fd49b88b0f104918f2 (diff) | |
[1.2.X] Fixed #14412 -- Pointed contrib.comments comments-url-redirect URLpattern at the actual view instead of the deprecated view. Thanks, subsume
Backport of r13995 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14386 bcc190cf-cafb-0310-a4f2-bffc1f526a37
| -rw-r--r-- | django/contrib/comments/urls.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/django/contrib/comments/urls.py b/django/contrib/comments/urls.py index 2bfefa3e2d..d9037799dd 100644 --- a/django/contrib/comments/urls.py +++ b/django/contrib/comments/urls.py @@ -12,6 +12,5 @@ urlpatterns = patterns('django.contrib.comments.views', ) urlpatterns += patterns('', - url(r'^cr/(\d+)/(.+)/$', 'django.views.defaults.shortcut', name='comments-url-redirect'), + url(r'^cr/(\d+)/(.+)/$', 'django.contrib.contenttypes.views.shortcut', name='comments-url-redirect'), ) - |
