Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#17874 closed Bug (invalid)

no timezone module

Reported by: happysimonlin@… Owned by: nobody
Component: Uncategorized Version: 1.3
Severity: Release blocker Keywords: timezone
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

when i follow part 1 to practice django, the following code can't pass 'from django.utils import timezone'. There are no timezone model under installation.
I use 'python manage.py shell' to test the import sentence.
I downloaded django 1,3.1 in your download part. My mac pro has python 2.7 installed.

Change History (4)

comment:1 by anonymous, 13 years ago

Summary: no timezone modelno timezone module

comment:2 by Aymeric Augustin, 13 years ago

Resolution: invalid
Status: newclosed

You're looking at the wrong version of the docs. Please use the widget at the bottom right to switch to the "1.3" version.

comment:3 by anonymous, 13 years ago

I am also having this problem! Please help. I have just been importing datetime and using datetime.datetime.now() instead of timezone.

comment:4 by Aymeric Augustin, 13 years ago

Please read the comment right above the one you posted...

Note: See TracTickets for help on using tickets.
Back to Top