Hi,
you have indentation error , you must put (class Choice) under (class
Question) like this
class Question():
class Choice():
so the error says "Question" not defined
hope it helps
On Thursday, February 21, 2019 at 8:57:51 PM UTC+2, bhushan patil wrote:
>
> The code for models
>
> On Fri 2
Hi,
You miss capital "M"
it's like this
class Question(models.Model):
the error message is very clear and indicate this error
hope it helps
On Wednesday, February 20, 2019 at 2:16:58 PM UTC+2, bhushan patil wrote:
>
> Guys I am not able to run the file manage.py on runserver.Its showing that
>
2 matches
Mail list logo