#20891 closed Bug (fixed)
Tutorial 2 in the Django documentation now requires third-party software
Reported by: | Scott Shields | Owned by: | nobody |
---|---|---|---|
Component: | Documentation | Version: | 1.6-beta-1 |
Severity: | Release blocker | Keywords: | |
Cc: | Triage Stage: | Accepted | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
Near the bottom of the Django tutorial part 2, Customize the admin change list, the tutorial instructs you to add the following code to add a "hierarchical navigation, by date, to the top of the change list page":
date_hierarchy = 'pub_date'
As of Django 1.6, this feature seems to use the new QuerySet.datetimes() method which, because we're using SQLite, requires pytz to be installed. I originally was going to copy and paste the note from the QuerySet.datetimes() section and attach a patch, but since this now requires third-party software, I believe this feature is out of the scope of the tutorial and should just be removed entirely.
I did not attach a patch due to wanting some feedback on the subject.
Change History (3)
comment:1 by , 11 years ago
Severity: | Normal → Release blocker |
---|---|
Triage Stage: | Unreviewed → Accepted |
Type: | Uncategorized → Bug |
comment:2 by , 11 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
If this is the only part of the tutorial that requires pytz, I'm fine with removing this step.