Django timezone doesn't show the right time?

2012-04-30 Thread Dan Santos
Hi I'm a total programming newbie! ### INTRO ### I have been following this tutorial and the timezone outputs confuses me. https://docs.djangoproject.com/en/1.4/intro/tutorial01/#playing-with-the-api And I'm still confused after reading these explanations, I basically need some really dumbed down

Re: Django timezone doesn't show the right time?

2012-05-01 Thread akaariai
On Apr 30, 11:03 pm, Dan Santos wrote: > Hi I'm a total programming newbie! > > ### INTRO ### > I have been following this tutorial and the timezone outputs confuses > me.https://docs.djangoproject.com/en/1.4/intro/tutorial01/#playing-with-... > > And I'm still confused after reading these explana

Re: Django timezone doesn't show the right time?

2012-05-01 Thread Dan Santos
Hi thanks for taking the time to explain to me! Unfortunately I still don't understand the outputs that I get in Python console, maybe it's because I don't understand the concept of templates. But this is what I tried to do in Python console. >>> p=Poll(question="Giddeup'ah!", pub_date=timezone.

Re: Django timezone doesn't show the right time?

2012-05-01 Thread akaariai
I see I am talking about concepts which are not yet familiar to you. By template I mean Django's HTML template engine. This is introduced in part 3 of the tutorial. The reason for the errors is that Poll is not an instance, it is the class so it doesn't have pub_date. poll isn't assigned to yet.

Re: Django timezone doesn't show the right time?

2012-05-02 Thread Dan Santos
Thanks! I guess that I will see the light once I get to part 3 of the tutorial. Thanks for the pointer now I understand the big picture. On Monday, April 30, 2012 10:03:25 PM UTC+2, Dan Santos wrote: > > Hi I'm a total programming newbie! > > ### INTRO ### > I have been following this tutor