Re: Base Views error importing articles.models

2018-08-30 Thread augustine tharakan
If you are writing this code in the views.py belonging to the app as that of models.py you don't have to specify the app name. (try this - from .models import Articles) -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this g

Re: Base Views error importing articles.models

2018-08-30 Thread Jason
and I would suggest you use a text editor or IDE with python integrations to check for these kind of errors. Syntax and missing references are easily caught -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and st

Re: Base Views error importing articles.models

2018-08-29 Thread Anirudh choudhary
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

Base Views error importing articles.models

2018-08-27 Thread Sandy Leon
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