tomchristie/django-rest-framework — pull request #876 by atarzwell (2013-05-20 20:50:31+00:00)
Title: I believe this is a mistake. 

I could be mistaken, but there is not snippets. resources created, the preceding step creates the ViewSet classes in the snippets.views module.

I got an error, and importing snippets.views instead of snippets.resources resolved it.

Traceback:
File "/usr/local/lib/python2.6/dist-packages/django/core/handlers/base.py" in get_response
103. resolver_match = resolver.resolve(request.path_info)
File "/usr/local/lib/python2.6/dist-packages/django/core/urlresolvers.py" in resolve
319. for pattern in self.url_patterns:
File "/usr/local/lib/python2.6/dist-packages/django/core/urlresolvers.py" in url_patterns
347. patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
File "/usr/local/lib/python2.6/dist-packages/django/core/urlresolvers.py" in urlconf_module
342. self._urlconf_module = import_module(self.urlconf_name)
File "/usr/local/lib/python2.6/dist-packages/django/utils/importlib.py" in import_module
35. __import__(name)
File "/home/atarzwell/src/resttest/resttest/urls.py" in
9. url(r'^', include('snippets.urls')),
File "/usr/local/lib/python2.6/dist-packages/django/conf/urls/__init__.py" in include
25. urlconf_module = import_module(urlconf_module)
File "/usr/local/lib/python2.6/dist-packages/django/utils/importlib.py" in import_module
35. __import__(name)
File "/home/atarzwell/src/resttest/snippets/urls.py" in
5. from snippets.resources import SnippetResource, UserResource

Exception Type: ImportError at /snippets/1/highlight/
Exception Value: No module named resources