#35547: reset_queries not included in __all__ of django/db/__init__.py
-------------------------------------+-------------------------------------
     Reporter:  AjmalPonneth         |                    Owner:
         Type:                       |  AjmalPonneth
  Cleanup/optimization               |                   Status:  assigned
    Component:  Database layer       |                  Version:  5.0
  (models, ORM)                      |
     Severity:  Normal               |               Resolution:
     Keywords:                       |             Triage Stage:  Ready for
                                     |  checkin
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  1                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by Sarah Boyce):

 * summary:  reset_queries cannot be imported from django.db =>
     reset_queries not included in __all__ of django/db/__init__.py


Old description:

> Currently, the reset_queries method cannot be imported from `django.db`.

New description:

 Currently, the reset_queries method cannot be imported via `from django.db
 import *`.

--
Comment:

 Replying to [comment:5 Tim Graham]:
 > I think the summary is slightly misleading. It can be imported with
 `from django.db import reset_queries` but not with `from django.db import
 *`, right?

 Yes, it's misleading 👍
-- 
Ticket URL: <https://code.djangoproject.com/ticket/35547#comment:8>
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/010701904910d017-682ab80a-9d97-4069-bf41-5edf5c0f4940-000000%40eu-central-1.amazonses.com.

Reply via email to