#34129: Admin list_editable failed to edit
-----------------------------------------+------------------------
               Reporter:  dengjing1994   |          Owner:  nobody
                   Type:  Bug            |         Status:  new
              Component:  contrib.admin  |        Version:  3.2
               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              |
-----------------------------------------+------------------------
 1. I have two **Manager** for my **Model**, one shows only valid items and
 another one shows all items, and then I change the model's **default
 manager** to the previous one which shows only valid items.
 2. I inherit the **ModelAdmin** and rewrite **get_queryset** method to
 make the queryset use the manager which shows all items.
 3. Add **valid** field to the **list_editable**.
 4. Here comes the bug. When all items are valid, it's ok and I can change
 item to invalid(valid=False) and save. But once there is an invalid item,
 you can't edit it anymore. It just shows "Please correct the error below"
 whithout any other message.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/34129>
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/01070184315c6225-9b39ea9d-e65b-46d2-9e65-33471d9ad9a4-000000%40eu-central-1.amazonses.com.

Reply via email to