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
This commit is contained in:
parent
c86946f000
commit
85ba40f4e2
|
@ -2,7 +2,7 @@ from django.conf.urls.defaults import *
|
||||||
|
|
||||||
urlpatterns = patterns('',
|
urlpatterns = patterns('',
|
||||||
('^$', 'django.contrib.admin.views.main.index'),
|
('^$', 'django.contrib.admin.views.main.index'),
|
||||||
('^r/(\d+)/(\d+)/$', 'django.views.defaults.shortcut'),
|
('^r/(\d+)/(.*)/$', 'django.views.defaults.shortcut'),
|
||||||
('^jsi18n/$', 'django.views.i18n.javascript_catalog', {'packages': 'django.conf'}),
|
('^jsi18n/$', 'django.views.i18n.javascript_catalog', {'packages': 'django.conf'}),
|
||||||
('^logout/$', 'django.contrib.auth.views.logout'),
|
('^logout/$', 'django.contrib.auth.views.logout'),
|
||||||
('^password_change/$', 'django.contrib.auth.views.password_change'),
|
('^password_change/$', 'django.contrib.auth.views.password_change'),
|
||||||
|
|
Loading…
Reference in New Issue