hi,
check in your settings.py did you added your app name in installed_apps.

On Mon, Feb 6, 2017 at 2:08 PM, 许畅 <[email protected]> wrote:

> Hello everyone.
>   I'm new one for the django rest,so i start with Quickstart(
> http://www.django-rest-framework.org/tutorial/quickstart/).
>   I follow tutorial step by step,but when run
>
> python manage.py runserver
>
>
> i get a mistake,message below.
> File "/Users/username/mygit/first-django/tutorial/tutorial/
> tutorial/urls.py", line 19, in <module>
>     from tutorial.quickstart import views
> ImportError: No module named 'tutorial.quickstart'
> [image: PyCharm warn]
> <https://lh3.googleusercontent.com/-przr_isF5pw/WJgzXXZRnJI/AAAAAAAAAB8/8NcU2fTVB7kjEguX0AH93HT8jjOCISlngCLcB/s1600/screenshot.png>
> I write code by PyCharm, it tell me wrong,too.
>   So,maybe i make other mistakes, i still think need directory structure
> here, and now my structure screen shot.Too many 'tutorial', isn't? Any
> suggest pleasure.
>
>
> [image: my structure]
> <https://lh3.googleusercontent.com/-ez4Jnvnz92I/WJg1A6xuEJI/AAAAAAAAACI/yvsjuB4B03YdAvlG1cXG3vjFjQ2g30DzwCLcB/s1600/QQ20170206-0%25402x.png>
>
> --
> 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.
>

-- 
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