mirror of
				https://github.com/django/django.git
				synced 2025-10-31 01:25:32 +00:00 
			
		
		
		
	Fixed #9956: relax the URL pattern for primary keys in the comment redirect 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
This commit is contained in:
		| @@ -13,6 +13,6 @@ urlpatterns = patterns('django.contrib.comments.views', | ||||
| ) | ||||
|  | ||||
| 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'), | ||||
| ) | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user