forked from django/django
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4b722b3
commit 74527ba
Showing
4 changed files
with
20 additions
and
0 deletions.
There are no files selected for viewing
14 changes: 14 additions & 0 deletions
14
tests/regressiontests/urlpatterns_reverse/included_only_namespace_urls.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,14 @@ | |||
from __future__ import absolute_import | |||
|
|||
from django.conf.urls import patterns, url, include | |||
|
|||
from .views import namespaced_view_class_instance | |||
|
|||
deeper_patterns = patterns('', | |||
(r'^view_class/$', namespaced_view_class_instance), | |||
) | |||
|
|||
urlpatterns = patterns('regressiontests.urlpatterns_reverse.views', | |||
url(r'^deeper/', include(deeper_patterns)), | |||
) | |||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters