Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed #4027 - Document how to make copies of model instances
Thanks to Marek Kubica for the report and initial patch, and to oinopion and erikr for work on the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17064 bcc190cf-cafb-0310-a4f2-bffc1f526a37
- Loading branch information
1 parent
3b7a4c6
commit a97ecfd
Showing
1 changed file
with
40 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
a97ecfd
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @spookylukey I realize this is an older commit, but shouldn't this also include setting
entry._state.adding = True
? This has become an issue for us in django-treebeard/django-treebeard#210a97ecfd
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@johanneswilm it's entirely possible you are right - it would be best to open a ticket on https://code.djangoproject.com/