diff options
| author | Tom Christie | 2012-02-21 22:50:41 +0000 |
|---|---|---|
| committer | Tom Christie | 2012-02-21 22:50:41 +0000 |
| commit | 66eabe8bd1a539f92c3d677565d69edc29a1721b (patch) | |
| tree | 60c5d2f5cdba605e73545ae21d94fcf809a39788 /djangorestframework/tests/renderers.py | |
| parent | b074754b54adf172cd2d102e2a326a7f322cf2ef (diff) | |
| download | django-rest-framework-66eabe8bd1a539f92c3d677565d69edc29a1721b.tar.bz2 | |
Remove staticviews. Use standard login/logout
Diffstat (limited to 'djangorestframework/tests/renderers.py')
| -rw-r--r-- | djangorestframework/tests/renderers.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/djangorestframework/tests/renderers.py b/djangorestframework/tests/renderers.py index 9a02d0a9..3ed5ab28 100644 --- a/djangorestframework/tests/renderers.py +++ b/djangorestframework/tests/renderers.py @@ -1,6 +1,6 @@ import re -from django.conf.urls.defaults import patterns, url +from django.conf.urls.defaults import patterns, url, include from django.test import TestCase from djangorestframework import status @@ -73,6 +73,7 @@ urlpatterns = patterns('', url(r'^jsonp/nojsonrenderer$', MockGETView.as_view(renderers=[JSONPRenderer])), url(r'^html$', HTMLView.as_view()), url(r'^html1$', HTMLView1.as_view()), + url(r'^api', include('djangorestframework.urls', namespace='djangorestframework')) ) |
