diff options
| author | Aymeric Augustin | 2013-10-18 21:06:13 +0200 | 
|---|---|---|
| committer | Aymeric Augustin | 2013-10-18 21:08:02 +0200 | 
| commit | fbd16d85245184f40f869026cedc4e0440dde17b (patch) | |
| tree | bb3834645f45bb9cfd0dbe1c7bc811cf66effb8f /tests/urls.py | |
| parent | bd345551eb1c70cf365c93cbc2883a3d809e6ae7 (diff) | |
| download | django-debug-toolbar-fbd16d85245184f40f869026cedc4e0440dde17b.tar.bz2 | |
Test that non-string view arguments are supported.
Close #43.
Diffstat (limited to 'tests/urls.py')
| -rw-r--r-- | tests/urls.py | 4 | 
1 files changed, 4 insertions, 0 deletions
| diff --git a/tests/urls.py b/tests/urls.py index d9ecb8c..562ebd2 100644 --- a/tests/urls.py +++ b/tests/urls.py @@ -10,6 +10,9 @@ from __future__ import unicode_literals  from django.conf.urls import patterns, url  from django.contrib import admin +from .models import NonAsciiRepr + +  admin.autodiscover()  urlpatterns = patterns('tests.views', @@ -19,5 +22,6 @@ urlpatterns = patterns('tests.views',      url(r'^resolving3/(.+)/$', 'resolving_view', { 'arg2' : 'default' }),      url(r'^regular/(?P<title>.*)/$', 'regular_view'),      url(r'^non_ascii_context/$', 'non_ascii_context'), +    url(r'^non_ascii_request/$', 'regular_view', {'title': NonAsciiRepr()}),      url(r'^execute_sql/$', 'execute_sql'),  ) | 
