From 3a679cc1c458c4e31fc22e511e9bc51ed939f102 Mon Sep 17 00:00:00 2001 From: Russell Keith-Magee Date: Thu, 28 Oct 2010 12:16:39 +0000 Subject: [PATCH] [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 --- django/contrib/comments/urls.py | 3 +-- 1 file changed, 1 insertion(+), 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'), ) -