Modify ↓
Ticket #254 (closed defect: fixed)
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:2 Changed 4 years ago by andrew
- Status changed from new to closed
- Resolution set to fixed
- Milestone set to 0.6.2
Fixed in [b2bc7d83b231].
Note: See
TracTickets for help on using
tickets.

Oh, forgot to add my email address.