aboutsummaryrefslogtreecommitdiffstats
path: root/djangorestframework/tests/breadcrumbs.py
diff options
context:
space:
mode:
authorTom Christie2011-05-24 10:27:24 +0100
committerTom Christie2011-05-24 10:27:24 +0100
commit370274f5640d55ef71422f7a2440710a43ff900e (patch)
tree2b970d3e1ad6d283050139bfe7a914bf10586963 /djangorestframework/tests/breadcrumbs.py
parent698df527a3b80edbf4278ea52e88c1699b2f2256 (diff)
downloaddjango-rest-framework-370274f5640d55ef71422f7a2440710a43ff900e.tar.bz2
Allow views to return HttpResponses. Add initial() hook method
Diffstat (limited to 'djangorestframework/tests/breadcrumbs.py')
-rw-r--r--djangorestframework/tests/breadcrumbs.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/djangorestframework/tests/breadcrumbs.py b/djangorestframework/tests/breadcrumbs.py
index 1fd75634..158f1800 100644
--- a/djangorestframework/tests/breadcrumbs.py
+++ b/djangorestframework/tests/breadcrumbs.py
@@ -1,21 +1,21 @@
from django.conf.urls.defaults import patterns, url
from django.test import TestCase
from djangorestframework.utils.breadcrumbs import get_breadcrumbs
-from djangorestframework.views import BaseView
+from djangorestframework.views import View
-class Root(BaseView):
+class Root(View):
pass
-class ResourceRoot(BaseView):
+class ResourceRoot(View):
pass
-class ResourceInstance(BaseView):
+class ResourceInstance(View):
pass
-class NestedResourceRoot(BaseView):
+class NestedResourceRoot(View):
pass
-class NestedResourceInstance(BaseView):
+class NestedResourceInstance(View):
pass
urlpatterns = patterns('',