That should work. You must have some unusual setting in settings.py. Can
you post time zone references from that file?

On 20 January 2012 09:03, Cyd <c...@cydward.com> wrote:

> In the tutorial here:
>
>     https://docs.djangoproject.com/en/1.3/intro/tutorial01/
>
> I get no errors up until the p.save() at the end:
>
>     # No polls are in the system yet.
>     >>> Poll.objects.all()
>     []
>
>     # Create a new Poll.
>     >>> import datetime
>     >>> p = Poll(question="What's up?",
> pub_date=datetime.datetime.now())
>
>     # Save the object into the database. You have to call save()
> explicitly.
>     >>> p.save()
>
> Right here, I get this error:
>
>     RuntimeWarning: DateTimeField received a naive datetime
> (2012-01-19 15:52:43.171000) while time zone support is active.
>
> > What does it mean by naive datetime?
>
> > Thanks for the help,
> > Cyd
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to