#2443: Add IntervalField to database models
----------------------------------------------------+-----------------------
Reporter: [EMAIL PROTECTED] | Owner:
adrian
Status: reopened | Component:
Database wrapper
Version: SVN | Resolution:
Keywords: IntervalField interval DurationField | Stage:
Design decision needed
Has_patch: 1 | Needs_docs: 1
Needs_tests: 1 | Needs_better_patch: 0
----------------------------------------------------+-----------------------
Changes (by Marty Alchin <[EMAIL PROTECTED]>):
* needs_better_patch: 1 => 0
* needs_docs: 0 => 1
Comment:
This most recent patch covers many more aspects of !DurationField,
including a newforms field and widget, fully compatible with newforms-
admin. This new widget implements a bit better of a UI, separating the
value into its components (days, hours, minutes, seconds, microseconds).
This new widget can't reasonably be done with oldforms, and since it's
going out anyway, oldforms (and the current admin) will simply use a
!FloatField describing the number of seconds (including microseconds).
Also, this version of the patch relies on #3982 to enable support of the
`coerce` method.
--
Ticket URL: <http://code.djangoproject.com/ticket/2443#comment:7>
Django Code <http://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 post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---