django.db.models.query Prefetch Example Code

Prefetch is a class within the django.db.models.query module of the Django project.

Example 1 from django-cms

django-cms (project website) is a Python-based content management system (CMS) library for use with Django web apps that is open sourced under the BSD 3-Clause "New" license.

django-cms / cms / cms_menus.py