--
Ticket URL: <https://code.djangoproject.com/ticket/22540>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* needs_better_patch: => 0
* needs_docs: => 0
* needs_tests: => 0
* easy: 1 => 0
* stage: Unreviewed => Accepted
Comment:
Looking at the code briefly I think it might be possible.
--
Ticket URL: <https://code.djangoproject.com/ticket/22540#comment:1>
* has_patch: 0 => 1
Comment:
PR: https://github.com/django/django/pull/2626
--
Ticket URL: <https://code.djangoproject.com/ticket/22540#comment:2>
* stage: Accepted => Ready for checkin
--
Ticket URL: <https://code.djangoproject.com/ticket/22540#comment:3>
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"0dce44e16be2d4850120cd333380ab9171c5964a"]:
{{{
#!CommitTicketReference repository=""
revision="0dce44e16be2d4850120cd333380ab9171c5964a"
Fixed #22540 -- Made _create_object_from_params() call create()
So as the save step is centralized in create(), especially useful
when customizing behavior in subclasses.
Thanks craig....@gmail.com for the report.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/22540#comment:4>
Comment (by Claude Paroz <claude@…>):
In [changeset:"faa8c71fd9e97794e73f7e7564446846d72d8bb2"]:
{{{
#!CommitTicketReference repository=""
revision="faa8c71fd9e97794e73f7e7564446846d72d8bb2"
Moved misplaced transaction.atomic from 0dce44e16b
Thanks Florian Apolloner for noticing the issue and Aymeric
Augustin for the expertise.
Refs #22540.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/22540#comment:5>