Code

Opened 7 years ago

Closed 7 years ago

#3748 closed (fixed)

[boulder-oracle] DateTimeField shows as "True" in admin

Reported by: bouldersprinters Owned by: adrian
Component: Database layer (models, ORM) Version: other branch
Severity: Keywords: oracle
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

Providing a default of "datetime.datetime.now()" or similar to a DateTimeField in a model leads to both form entry fields in the admin showing the value "True" against Oracle. Using sqlite3 or postgres against the same codebase works correctly.

Attachments (0)

Change History (2)

comment:1 Changed 7 years ago by Gary Wilson <gary.wilson@…>

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Accepted

comment:2 Changed 7 years ago by bouldersprinters

  • Resolution set to fixed
  • Status changed from new to closed

(In [5020]) boulder-oracle-sprint: Fixed #3748.

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.