mirror of
https://github.com/django/django.git
synced 2025-11-02 04:48:33 +00:00
Refs #22384 -- Removed the ability to reverse URLs by dotted path per deprecation timeline.
This commit is contained in:
parent
d79122f40b
commit
785cc71d5b
15 changed files with 93 additions and 298 deletions
|
|
@ -2,7 +2,7 @@ from django.conf.urls import include, url
|
|||
|
||||
from .views import (
|
||||
absolute_kwargs_view, defaults_view, empty_view, empty_view_partial,
|
||||
empty_view_wrapped, kwargs_view, nested_view,
|
||||
empty_view_wrapped, nested_view,
|
||||
)
|
||||
|
||||
other_patterns = [
|
||||
|
|
@ -67,10 +67,6 @@ urlpatterns = [
|
|||
# This is non-reversible, but we shouldn't blow up when parsing it.
|
||||
url(r'^(?:foo|bar)(\w+)/$', empty_view, name="disjunction"),
|
||||
|
||||
# Regression views for #9038. See tests for more details
|
||||
url(r'arg_view/$', kwargs_view),
|
||||
url(r'arg_view/(?P<arg1>[0-9]+)/$', kwargs_view),
|
||||
url(r'absolute_arg_view/(?P<arg1>[0-9]+)/$', absolute_kwargs_view),
|
||||
url(r'absolute_arg_view/$', absolute_kwargs_view),
|
||||
|
||||
# Tests for #13154. Mixed syntax to test both ways of defining URLs.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue