Friday, April 3, 2020

Class 'Question' has no 'objects' . problem in Writing your first Django app, part 3 tutorial

I'm using vs code and doing the tutorial  https://docs.djangoproject.com/en/3.0/intro/tutorial03/

at the " Here's one stab at a new index() " part of the tutorial when writing to polls/vies.py
file I get an error from vs code (in the "latest_questin_list=") that Question has no 'objects.

why it says  Question has no 'objects.?


--
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 view this discussion on the web visit https://groups.google.com/d/msgid/django-users/c585143e-a2b0-40a4-a77b-59140adae41a%40googlegroups.com.

No comments:

Post a Comment