Skip to content
Browse files

Fixed #9956: relax the URL pattern for primary keys in the comment re…

…direct so that models with custom PKs aren't cut out of the loop.

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent 92a38be commit eef2c5f6dea6ad06f064d46292d2f21ebebaf839 @jacobian jacobian committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 django/contrib/comments/
2 django/contrib/comments/
@@ -13,6 +13,6 @@
urlpatterns += patterns('',
- url(r'^cr/(\d+)/(\w+)/$', 'django.views.defaults.shortcut', name='comments-url-redirect'),
+ url(r'^cr/(\d+)/(.+)/$', 'django.views.defaults.shortcut', name='comments-url-redirect'),

0 comments on commit eef2c5f

Please sign in to comment.
Something went wrong with that request. Please try again.