Ticket #14412: comment-urls.diff

File comment-urls.diff, 451 bytes (added by subsume, 5 years ago)
  • contrib/comments/urls.py

    old new urlpatterns = patterns('django.contrib.c 
    1212)
    1313
    1414urlpatterns += patterns('',
    15     url(r'^cr/(\d+)/(.+)/$', 'django.views.defaults.shortcut', name='comments-url-redirect'),
     15    url(r'^cr/(\d+)/(.+)/$', 'django.contrib.contenttypes.views.shortcut', name='comments-url-redirect'),
    1616)
    1717
Back to Top