Opened 17 years ago
Closed 17 years ago
#4514 closed (wontfix)
0.97-pre raises error with DateTime when the field is set to UNIQUE
Reported by: | Owned by: | nobody | |
---|---|---|---|
Component: | Uncategorized | Version: | dev |
Severity: | 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
Django is validating each field is Unique in the database. As a DateTime field has Date and Time, it will send to the DB the field TIME and the Database will answer that TIME (For instance: 18:00:00) is not a valid DateTime.
Very messy error.
Note:
See TracTickets
for help on using tickets.
I can't duplicate this using SQLite. Is this a database-specific error?
I'm closing this as
wontfix
, but if you can furnish us with further information (what database backend you'e using, how we can replicate this, etc) feel free to open it again.