Right after I restart Apache to pick up the new Django changes, I get the following errors for probably 30 seconds to a minute afterwards:
ViewDoesNotExist: Tr
I am newbie to Django python, my mistake was in view.py, model part
model = ‘Article'
ArticleListViews(ListView): model = 'Article' template_name = ‘article.html'
it raise same error. model = Article is correct. I don’t need to put the name of model in quotations.
model = Article
enjoy coding.