Wednesday, August 29, 2018

Re: Base Views error importing articles.models

this error means that the module articles is not in the articels and file name models. you may be getting this error because of spelling 

On Monday, August 27, 2018 at 7:05:43 PM UTC+5:30, Sandy Leon wrote:
Hello everyone,

I am trying to add another simple 'home' page to my website which is at this point
just the basic site after you finish the tutorial. I am following the 'Base Views' documentation but keep getting an error when trying to import 
'from articles.models import Articles' the error reads ModuleNotFoundError: No module named 'articles'

Any help with this would be greatly appreciated!

--
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+unsubscribe@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/ae5a5ba3-a67f-4093-b8b7-164c7f96d265%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment