Python: ImportError: No module named 'tutorial.quickstart'
Question: I am getting import error even when I am following the tutorial
<http://www.django-rest-framework.org/tutorial/quickstart/> line by line.

    
    
    from tutorial.quickstart import views
    

> ImportError: No module named 'tutorial.quickstart'

**where my urls.py file looks like**

    
    
    from django.conf.urls import url, include
    from rest_framework import routers
    from tutorial.quickstart import views
    
    router = routers.DefaultRouter()
    router.register(r'users', views.UserViewSet)
    router.register(r'groups', views.GroupViewSet)
    
    urlpatterns = [
            url(r'^', include(router.urls)),
            url(r'^api-auth/', include('rest_framework.urls', namespace='rest_framework'))
    ]
    

Note: I have the project in Rest_Tutorial folder which consist of virtual
enviroment - `env` and project `tutorial`. This tutorial consist of
`quickstart` and `tutorial`


Answer: Make sure your tutorial.quickstart is in the same folder as your project. Also
make sure it is unzipped ! Otherwise use a absolute path.

Hope it helps !

