#33398: ModelAdmin.empty_value_display example in docs should use list_display.
--------------------------------------+------------------------------------
Reporter: Michael | Owner: nobody
Type: Cleanup/optimization | Status: new
Component: Documentation | Version: 4.0
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
--------------------------------------+------------------------------------
Changes (by Mariusz Felisiak):
* type: Bug => Cleanup/optimization
* stage: Unreviewed => Accepted
Comment:
> I think this will only work for the list display, not setting the empty
value of the field during edit view.
It also works for `readonly_fields`, but I agree that `list_display` fits
better here. Would you like to provide a patch?
--
Ticket URL: <https://code.djangoproject.com/ticket/33398#comment:1>
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/068.3a03d91bfbc9d7add9f76d79660a2242%40djangoproject.com.