Opened 8 years ago

Closed 8 years ago

#4514 closed (wontfix)

0.97-pre raises error with DateTime when the field is set to UNIQUE

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

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.

Change History (1)

comment:1 Changed 8 years ago by flother

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution set to wontfix
  • Status changed from new to closed

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.

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