Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[1.0.X] Fixed #9956: relax the URL pattern for primary keys in the co…

…mment redirect so that models with custom PKs aren't cut out of the loop. Backport of r10422 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10423 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit f78c70b3b21cb28ce77b674706bb64b297ab0649 1 parent 503b3ca
@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.