#23316: Supported 'datetime.time' in migrations
-----------------------------+--------------------------------------
Reporter: shlee322 | Owner: shlee322
Type: New feature | Status: new
Component: Migrations | Version: master
Severity: Normal | Keywords: migrations datetime time
Triage Stage: Unreviewed | Has patch: 1
Easy pickings: 0 | UI/UX: 0
-----------------------------+--------------------------------------
I found migrations does supports datetime.datime and datetime.date but not
datetime.time.
example:
{{{
class TestModel(models.Model):
open_time = models.TimeField(default=datetime.time(11, 0)) # Error
}}}
So I create datetime.time support patch and attach here. (Github Pull
Request)
--
Ticket URL: <https://code.djangoproject.com/ticket/23316>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/051.4df9272680323d3d8c79c6c7f8f5b924%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.