#29962: queryset explain() doesn't work with verbose=True
-----------------------------------------+------------------------
Reporter: shafikshaon | Owner: nobody
Type: Bug | Status: new
Component: Documentation | Version: 2.1
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-----------------------------------------+------------------------
print(User.objects.filter(is_active=True).explain(verbose=True)) if you
run this, this may throw an exception
- expect using but it doesn't describe in documentation
- return self.query.explain(using=self.db, format=format, **options)
- raise ValueError('Unknown options: %s' % ',
'.join(sorted(options.keys())))
ValueError: Unknown options: verbose
Doc link:
https://docs.djangoproject.com/en/2.1/ref/models/querysets/#explain
--
Ticket URL: <https://code.djangoproject.com/ticket/29962>
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/054.8b0623247081440b9345027e3d1dcade%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.