Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

…t 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
  • Loading branch information...
commit 3a679cc1c458c4e31fc22e511e9bc51ed939f102 1 parent 181f264
@freakboy3742 freakboy3742 authored
Showing with 1 addition and 2 deletions.
  1. +1 −2  django/contrib/comments/urls.py
View
3  django/contrib/comments/urls.py
@@ -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'),
)
-
Please sign in to comment.
Something went wrong with that request. Please try again.