We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 521c43e commit 7421b00Copy full SHA for 7421b00
tests/urls.py
@@ -68,6 +68,7 @@ def test_strongurl(self):
68
def test_includes_end(self):
69
self.assertEqual(str(url('users/:slug', include('tests'))._regex), '^users/(?P<slug>[\\w-]+)')
70
self.assertEqual(str(url('users/:slug', include('tests', namespace='1'))._regex), '^users/(?P<slug>[\\w-]+)')
71
+ self.assertEqual(str(url('users/:slug', 'tests')._regex), '^users/(?P<slug>[\\w-]+)$')
72
73
74
class TestRegexUrlResolving(unittest.TestCase):
0 commit comments