Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed #2023 -- 'View on site' now works with non-integer primary keys.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@3009 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 85ba40f4e24410cf22f7aa2f73e9ca73bf5f5c5c 1 parent c86946f
Adrian Holovaty authored

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

  1. 2  django/contrib/admin/urls.py
2  django/contrib/admin/urls.py
@@ -2,7 +2,7 @@
2 2
 
3 3
 urlpatterns = patterns('',
4 4
     ('^$', 'django.contrib.admin.views.main.index'),
5  
-    ('^r/(\d+)/(\d+)/$', 'django.views.defaults.shortcut'),
  5
+    ('^r/(\d+)/(.*)/$', 'django.views.defaults.shortcut'),
6 6
     ('^jsi18n/$', 'django.views.i18n.javascript_catalog', {'packages': 'django.conf'}),
7 7
     ('^logout/$', 'django.contrib.auth.views.logout'),
8 8
     ('^password_change/$', 'django.contrib.auth.views.password_change'),

0 notes on commit 85ba40f

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