mirror of
https://github.com/django/django.git
synced 2024-12-25 02:26:12 +00:00
a63a83e5d8
This is fully backwards compatible, but it fixes a bunch of little bugs. Thanks to SmileyChris and Ilya Semenov for some early patches in this area that were incorporated into this change. Fixed #2977, #4915, #6934, #7206. git-svn-id: http://code.djangoproject.com/svn/django/trunk@8760 bcc190cf-cafb-0310-a4f2-bffc1f526a37
9 lines
298 B
Python
9 lines
298 B
Python
from django.conf.urls.defaults import *
|
|
from views import empty_view
|
|
|
|
urlpatterns = patterns('',
|
|
url(r'^$', empty_view, name="inner-nothing"),
|
|
url(r'^extra/(?P<extra>\w+)/$', empty_view, name="inner-extra"),
|
|
url(r'^(?P<one>\d+)|(?P<two>\d+)/$', empty_view, name="inner-disjunction"),
|
|
)
|