mirror of
https://github.com/django/django.git
synced 2024-12-01 07:31:48 +01:00
5d568bcfa6
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.
9 lines
177 B
Python
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")
|
|
)
|