#22817: Missing custom methods on EmptyQuerySet
---------------------------------+------------------------------------
     Reporter:  benjaoming       |                    Owner:  nobody
         Type:  Uncategorized    |                   Status:  new
    Component:  Uncategorized    |                  Version:  1.6
     Severity:  Release blocker  |               Resolution:
     Keywords:                   |             Triage Stage:  Accepted
    Has patch:  0                |      Needs documentation:  0
  Needs tests:  0                |  Patch needs improvement:  0
Easy pickings:  0                |                    UI/UX:  0
---------------------------------+------------------------------------
Changes (by akaariai):

 * severity:  Normal => Release blocker
 * stage:  Unreviewed => Accepted


Comment:

 OK, the problem is that EmptyManager is subclass of Manager. Due to that,
 it doesn't have same methods as the real Manager. I'll set this as release
 blocker.

 One solution is to create dynamically a subclass of the real manager for
 EmptyManager. I don't like how much dynamic class creation we have now for
 querysets and managers, I have a feeling we will need to revisit this
 design again later on...

-- 
Ticket URL: <https://code.djangoproject.com/ticket/22817#comment:4>
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/068.25bf2565d055a35bf7529f7545a11fff%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to