#24879: In the docs, models.QuerySet is used instead of models.query.QuerySet
-------------------------------+--------------------------------------
     Reporter:  devtester44    |                    Owner:  nobody
         Type:  Bug            |                   Status:  closed
    Component:  Documentation  |                  Version:  1.8
     Severity:  Normal         |               Resolution:  invalid
     Keywords:                 |             Triage Stage:  Unreviewed
    Has patch:  0              |      Needs documentation:  0
  Needs tests:  0              |  Patch needs improvement:  0
Easy pickings:  1              |                    UI/UX:  0
-------------------------------+--------------------------------------
Changes (by knbk):

 * status:  new => closed
 * resolution:   => invalid


Comment:

 `models.QuerySet` is a convenience import[1], i.e. it is imported
 explicitly in `django/db/models/__init__.py`, just so you can import it as
 `from django.db.models import QuerySet`. Django recommends using this
 instead of the actual location.

 [1]
 https://github.com/django/django/blob/master/django/db/models/__init__.py#L4

--
Ticket URL: <https://code.djangoproject.com/ticket/24879#comment:2>
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/069.74f30213ed5e3d6b99693e51ea3db970%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to