Code

Ticket #14412: comment-urls.diff

File comment-urls.diff, 451 bytes (added by subsume, 4 years ago)
Line 
1--- /var/pybucket/django/contrib/comments/urls.py       2010-05-17 19:01:47.000000000 -0500
2+++ contrib/comments/urls.py    2010-10-06 13:30:00.000000000 -0500
3@@ -12,6 +12,6 @@ urlpatterns = patterns('django.contrib.c
4 )
5 
6 urlpatterns += patterns('',
7-    url(r'^cr/(\d+)/(.+)/$', 'django.views.defaults.shortcut', name='comments-url-redirect'),
8+    url(r'^cr/(\d+)/(.+)/$', 'django.contrib.contenttypes.views.shortcut', name='comments-url-redirect'),
9 )
10