Modify

Ticket #254 (closed defect: fixed)

Opened 5 years ago

Last modified 3 years ago

Default Time/DateTime values are not quoted.

Reported by: anonymous Owned by: andrew
Priority: minor Milestone: 0.6.2
Component: migrations Version: 0.6
Keywords: Cc:

Description

There is a bug with default arguments for datetime and time values:

south/db/generic.py (line 428, in 0.6.1):

elif isinstance(default, datetime.date):

Should read:

elif isinstance(default, datetime.date) or isinstance(default, datetime.time) or isinstance(default, datetime.datetime):

This would allow for migrations using one of these defaults to actually run.

Attachments

Change History

comment:1 Changed 5 years ago by matt@…

Oh, forgot to add my email address.

comment:2 Changed 5 years ago by andrew

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

Fixed in [b2bc7d83b231].

View

Add a comment

Modify Ticket

Action
as closed
Author


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

 
Note: See TracTickets for help on using tickets.