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
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
-7, Kyle Foley wrote:
>
> I'm trying to teach myself Django on this site:
>
> https://docs.djangoproject.com/en/1.11/intro/tutorial02/
>
> If you look at this sentence:
>
> To include the app in our project, we need to add a reference to its
> configuration class in t
I'm trying to teach myself Django on this site:
https://docs.djangoproject.com/en/1.11/intro/tutorial02/
If you look at this sentence:
To include the app in our project, we need to add a reference to its
configuration class in the INSTALLED_APPS
de Django to 1.11 or use the tutorial for whichever
> version you have installed.
>
> Marten
>
> On Saturday, November 4, 2017 at 11:01:15 PM UTC+1, Kyle Foley wrote:
>>
>> I'm trying to teach myself Django on this site:
>>
>> https://docs.djangoproject.c
',
and that solved the issue. but i'm a little confused as to why the apps.py
module is not being created.
On Saturday, November 4, 2017 at 3:01:15 PM UTC-7, Kyle Foley wrote:
>
> I'm trying to teach myself Django on this site:
>
> https://docs.djangoproject.com/en/1.11/intro/tutorial02/
>
6 matches
Mail list logo