#26530: Batch operations on large querysets
-------------------------------------+-------------------------------------
Reporter: mjtamlyn | Owner: nobody
Type: New feature | Status: new
Component: Database layer | Version: master
(models, ORM) |
Severity: Normal | Resolution:
Keywords: | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Nagyman):
It would be nice to see a native solution to this issue. We have had to do
this on occasion (G Adventures) and it is a technique used by django-
haystack [https://github.com/django-haystack/django-
haystack/blob/cd7380e35c0950861d5fd07142d4c3c2aa442005/haystack/management/commands/update_index.py#L60
here for example]. That project also calls {{{reset_queries()}}}, but I
have not tested the effects of that call (just copied the pattern).
--
Ticket URL: <https://code.djangoproject.com/ticket/26530#comment:7>
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/066.6ea67ed2712c6f8eb4a587c842b70fbb%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.