From eb5d7bc2f465b055f4eb54a3d238502bdddb6d7e Mon Sep 17 00:00:00 2001 From: Alasdair Nicol Date: Sat, 2 Apr 2016 12:49:12 +0200 Subject: Fixed #26440 -- Added a warning for non-url()s in urlpatterns. Thanks Burhan Khalid for the initial patch and knbk/timgraham for review. --- tests/check_framework/urls/contains_tuple.py | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 tests/check_framework/urls/contains_tuple.py (limited to 'tests/check_framework/urls') 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), +] -- cgit v1.3