On zondag 8 juli 2018 08:40:03 CEST darkblakh...@gmail.com wrote:

> Traceback (most recent call last):
> File "/root/Desktop/website/movies/views.py", line 4, in <module>
> from .models import mdb
> ValueError: Attempted relative import in non-package

You should really create your "movies app" with:

`python manage.py startapp movies`

That will create the correct boilerplate.

-- 
Melvyn Sopacua

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/2248183.zDUnD0f5Bq%40fritzbook.
For more options, visit https://groups.google.com/d/optout.

Reply via email to