#14437: Allow force_insert for fixtures loading. ---------------------------+------------------------------------------------ Reporter: zimnyx | Owner: nobody Status: new | Milestone: Component: Serialization | Version: SVN Keywords: | Stage: Unreviewed Has_patch: 0 | ---------------------------+------------------------------------------------ There are some useful cases where silent overwriting is not desired: for example in unit testing, when you use multiple fixture files, and can duplicate PK by mistake. It has another advantage - django won't be checking if instance already exists in database, so test fixtures will load a bit faster.
This issue is not only connected with unit testing, I just give you practical example. -- Ticket URL: <http://code.djangoproject.com/ticket/14437> 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.
