Examples 7.3/7.4/7.5 - django.models.Q ImportError
bogdal opened this issue · comments
Location within the Book
- Chapter: 7
- Section: 3
- Subsection: main and 1
Description
Examples 7.3
, 7.4
and 7.5
contain an incorrect path to the Q
object.
There is:
from django.models import Q
Should be:
from django.db.models import Q
🚢 🍨