Opened 18 years ago

Closed 18 years ago

#1629 closed defect (duplicate)

Entering date before 1900 breaks admin section

Reported by: django.trac@… Owned by: Adrian Holovaty
Component: contrib.admin Version:
Severity: normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

The administration section allows dates before the year 1900 to be entered. However, this breaks the admin section.

I'm getting lots of Python tracebacks when browsing the admin section. Most important is this message: ValueError at /admin/polls/polls/3/year=1212 is before 1900; the datetime strftime() methods require year >= 1900

The admin pane should probably not allow dates before 1900 to be entered.

(Note: this is my first day with Django. Maybe this is not a bug at all; I may be overlooking something. If this is the case, apologies.)

Change History (1)

comment:1 by Gary Wilson <gary.wilson@…>, 18 years ago

Resolution: duplicate
Status: newclosed
Summary: Entering date before 1900 breaks admin sectionEntering date before 1900 breaks admin section

dup of #1070

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