Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
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: http://code.djangoproject.com/svn/django/trunk@10422 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit eef2c5f6dea6ad06f064d46292d2f21ebebaf839 1 parent 92a38be
@jacobian jacobian authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  django/contrib/comments/urls.py
View
2  django/contrib/comments/urls.py
@@ -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'),
)
Please sign in to comment.
Something went wrong with that request. Please try again.