#4027: Document how to make copies of model instances
------------------------------------+---------------------------------------
Reporter: Marek Kubica | Owner: nobody
Status: new | Milestone:
Component: Documentation | Version: SVN
Resolution: | Keywords: db, copy
Stage: Accepted | Has_patch: 0
Needs_docs: 1 | Needs_tests: 0
Needs_better_patch: 0 |
------------------------------------+---------------------------------------
Changes (by gabrielhurley):
* summary: ability to make a copies of model instances => Document how
to make copies of model instances
Comment:
In response to Forest and mitar: let's keep this a documentation ticket as
Malcolm suggested, and move any deep/shallow copy feature additions to a
new ticket (and probably start a mailing list discussion to make sure we
have consensus on the feature).
For the time being, a ticket this old really needs some kind of
resolution, and documenting a simple and useful pattern that covers 90% of
cases is a good idea, even if copy methods do get implemented at a later
date.
I would say that either docs/topics/db/models or docs/topics/db/queries is
probably the place to put the docs for this. Despite the fact that
topics/db/models is a more appropriate section, it actually fits better
context-wise with topics/db/models near the sections of updating and
deleting objects. A case for going into either one could be made, and
ultimately there should probably be a cross-ref from one section to the
other whichever way one it ends up in.
--
Ticket URL: <http://code.djangoproject.com/ticket/4027#comment:17>
Django <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.