did you keep the manage.py shell open while making the code changes? you
need to close/open it again
On Sat, Nov 4, 2017 at 10:36 PM, Kyle Foley wrote:
> Let me also show what I have placed in the terminal
>
> >>> Question.objects.get(pk=1)
>
>
>
> >>> q = Question.objects.get(pk=1)
>
> >>> q.w
Let me also show what I have placed in the terminal
>>> Question.objects.get(pk=1)
>>> q = Question.objects.get(pk=1)
>>> q.was_published_recently()
I also don't understand why I am outputting:
And the website says the output should be:
--
You received this message because you are s
At this site
https://docs.djangoproject.com/en/1.11/intro/tutorial02/
towards the end I input the following:
>>> q.was_published_recently()
and I got the following error:
Traceback (most recent call last):
File
"/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-package
3 matches
Mail list logo