Author: russellm
Date: 2010-10-28 07:16:39 -0500 (Thu, 28 Oct 2010)
New Revision: 14386
Modified:
django/branches/releases/1.2.X/django/contrib/comments/urls.py
Log:
[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.
Modified: django/branches/releases/1.2.X/django/contrib/comments/urls.py
===================================================================
--- django/branches/releases/1.2.X/django/contrib/comments/urls.py
2010-10-28 12:16:21 UTC (rev 14385)
+++ django/branches/releases/1.2.X/django/contrib/comments/urls.py
2010-10-28 12:16:39 UTC (rev 14386)
@@ -12,6 +12,5 @@
)
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'),
)
-
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.