aboutsummaryrefslogtreecommitdiffstats
path: root/djangorestframework/tests/breadcrumbs.py
diff options
context:
space:
mode:
authorTom Christie2011-05-04 09:21:17 +0100
committerTom Christie2011-05-04 09:21:17 +0100
commitd373b3a067796b8e181be9368fa24e89c572c45e (patch)
treeeec24eb8f8813ce959511c3572a54c5ee645e227 /djangorestframework/tests/breadcrumbs.py
parent8756664e064a18afc4713d921c318cd968f18433 (diff)
downloaddjango-rest-framework-d373b3a067796b8e181be9368fa24e89c572c45e.tar.bz2
Decouple views and resources
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 2f9a7e9d..1fd75634 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.resource import Resource
+from djangorestframework.views import BaseView
-class Root(Resource):
+class Root(BaseView):
pass
-class ResourceRoot(Resource):
+class ResourceRoot(BaseView):
pass
-class ResourceInstance(Resource):
+class ResourceInstance(BaseView):
pass
-class NestedResourceRoot(Resource):
+class NestedResourceRoot(BaseView):
pass
-class NestedResourceInstance(Resource):
+class NestedResourceInstance(BaseView):
pass
urlpatterns = patterns('',