0
0
mirror of https://github.com/django/django.git synced 2024-12-01 07:31:48 +01:00
django/tests/urlpatterns_reverse/included_no_kwargs_urls.py
Athena 5d568bcfa6 Fixed #7571 -- Fixed parameter matching in include()'d urlpattern
Fixed URL resolving in the case where an outer regex includes an inner
regex and both regexes use positional parameters instead of named
groups, causing the outer regex's parameters to override the inner
regex's.

Modified the regex url resolver so that it will concatenates and then
normalizes, instead of normalizing and then concatenating.
2014-03-05 00:35:03 +01:00

9 lines
177 B
Python

from django.conf.urls import patterns, url
from .views import empty_view
urlpatterns = patterns('',
url(r'^inner-no-kwargs/(\d+)/', empty_view, name="inner-no-kwargs")
)