diff options
| author | Alasdair Nicol <alasdair@thenicols.net> | 2016-04-02 12:49:12 +0200 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2016-04-30 20:09:31 -0400 |
| commit | eb5d7bc2f465b055f4eb54a3d238502bdddb6d7e (patch) | |
| tree | 597da9f4f1a56316ee5f8616d30638604c3f69a8 /tests/check_framework/urls | |
| parent | 914c72be2abb1c6dd860cb9279beaa66409ae1b2 (diff) | |
Fixed #26440 -- Added a warning for non-url()s in urlpatterns.
Thanks Burhan Khalid for the initial patch and knbk/timgraham
for review.
Diffstat (limited to 'tests/check_framework/urls')
| -rw-r--r-- | tests/check_framework/urls/contains_tuple.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/check_framework/urls/contains_tuple.py b/tests/check_framework/urls/contains_tuple.py new file mode 100644 index 0000000000..56aa3ea364 --- /dev/null +++ b/tests/check_framework/urls/contains_tuple.py @@ -0,0 +1,3 @@ +urlpatterns = [ + (r'^tuple/$', lambda x: x), +] |
