Commit 3a679cc1 authored by Russell Keith-Magee's avatar Russell Keith-Magee
Browse files

[1.2.X] Fixed #14412 -- Pointed contrib.comments comments-url-redirect...

[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
parent 181f2642
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -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'),
)