#34129: Admin list_editable failed to edit
-------------------------------+--------------------------------------
     Reporter:  Djing          |                    Owner:  Djing
         Type:  Bug            |                   Status:  assigned
    Component:  contrib.admin  |                  Version:  3.2
     Severity:  Normal         |               Resolution:
     Keywords:                 |             Triage Stage:  Unreviewed
    Has patch:  0              |      Needs documentation:  0
  Needs tests:  0              |  Patch needs improvement:  0
Easy pickings:  0              |                    UI/UX:  0
-------------------------------+--------------------------------------

Comment (by David Sanders):

 Please note the documentation warns about these situations where a default
 queryset hide/restricts the data it retrieves:
 https://docs.djangoproject.com/en/4.1/topics/db/managers/#default-managers


   it’s a good idea to be careful in your choice of default manager in
 order to avoid a situation where overriding get_queryset() results in an
 inability to retrieve objects you’d like to work with.

 It may be better to have the valid manager as the non-default and get the
 admin to use this instead.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/34129#comment:5>
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/0107018434059c6f-c29a890d-5f88-46b9-8a1a-3dcf3a76be28-000000%40eu-central-1.amazonses.com.

Reply via email to