#17874 closed Bug (invalid)
no timezone module
Reported by: | 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 , 13 years ago
Summary: | no timezone model → no timezone module |
---|
comment:2 by , 13 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
comment:3 by , 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.
Note:
See TracTickets
for help on using tickets.
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.