#31433: Model.objects.create() doesn't utilize caching for prefetches defined on the ObjectManager. -------------------------------------+------------------------------------- Reporter: Nathan Yan | Owner: nobody Type: Bug | Status: closed Component: Database layer | Version: 3.0 (models, ORM) | Severity: Normal | Resolution: invalid Keywords: prefetch cache | Triage Stage: | Unreviewed Has patch: 0 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 0 -------------------------------------+------------------------------------- Changes (by felixxm):
* status: new => closed * resolution: => invalid Comment: `get_queryset()` is not called for new objects created with `QuerySet.create()`. It's not a bug in Django it's a false assumption that you made in your implementation. Please use one of [https://code.djangoproject.com/wiki/TicketClosingReasons/UseSupportChannels support channels]. Closing per TicketClosingReasons/UseSupportChannels. -- Ticket URL: <https://code.djangoproject.com/ticket/31433#comment:1> 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 django-updates+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/071.753a1ea6bdb81c55dc49f447e181beea%40djangoproject.com.