Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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
Jacob Kaplan-Moss authored April 07, 2009

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  django/contrib/comments/urls.py
2  django/contrib/comments/urls.py
@@ -13,6 +13,6 @@
13 13
 )
14 14
 
15 15
 urlpatterns += patterns('',
16  
-    url(r'^cr/(\d+)/(\w+)/$', 'django.views.defaults.shortcut', name='comments-url-redirect'),
  16
+    url(r'^cr/(\d+)/(.+)/$', 'django.views.defaults.shortcut', name='comments-url-redirect'),
17 17
 )
18 18
 

0 notes on commit eef2c5f

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