I've been following the official tutorial until 6-viewsets-and-routers/ 
<http://www.django-rest-framework.org/tutorial/6-viewsets-and-routers/>

After I changed the urls.py to

router = DefaultRouter()

router.register(r'snippets', views.SnippetViewSet)
router.register(r'users', views.UserViewSet)

# The API URLs are now determined automatically by the router
# Additionally, we include the login URLs for the browsable API.
urlpatterns = [
    url(r'^', include(router.urls)),
]


I got an error: 
TypeError: SnippetViewSet() received an invalid keyword 'renderer_class'


Please help. 

-- 
You received this message because you are subscribed to the Google Groups 
"Django REST framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to