#18709: Formset with SplitDateTimeField(initial=datetime.datetime.now) doesn't
work
correctly
-------------------------------------+-------------------------------------
Reporter: dekkers | Owner: Jeroen
Type: Bug | Dekkers <jeroen@…>
Component: Forms | Status: closed
Severity: Normal | Version: 1.4
Keywords: | Resolution: fixed
Has patch: 1 | Triage Stage: Ready for
Needs tests: 0 | checkin
Easy pickings: 0 | Needs documentation: 0
| Patch needs improvement: 0
| UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Jeroen Dekkers <jeroen@…>):
* owner: => Jeroen Dekkers <jeroen@…>
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"d0788c277035727b7b070abd0f02d075acffc84f"]:
{{{
#!CommitTicketReference repository=""
revision="d0788c277035727b7b070abd0f02d075acffc84f"
Fixed #18709 -- Check if initial_value is a callable
In _get_changed_data, check if initial_value is a callable and call it
if it is.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/18709#comment:9>
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/065.9f923d92c87ccbd0a73cebbb54700028%40djangoproject.com?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.