#29332: AdminReadOnly field accepts the optional argument model_admin but 
treats it
as non-optional
               Reporter:  Josh DM        |          Owner:  nobody
                   Type:  Bug            |         Status:  new
              Component:  contrib.admin  |        Version:  1.11
               Severity:  Normal         |       Keywords:
           Triage Stage:  Unreviewed     |      Has patch:  0
    Needs documentation:  0              |    Needs tests:  0
Patch needs improvement:  0              |  Easy pickings:  1
                  UI/UX:  0              |
 Using a FieldSet without providing a `model_admin` results in an error
 since AdminReadOnly calls: `model_admin.get_empty_value_display()`.

 My expected behaviour is that it does not error, and sets the
 `empty_value_display` to the empty string.
 Relevant file:


Ticket URL: <https://code.djangoproject.com/ticket/29332>
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 django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
For more options, visit https://groups.google.com/d/optout.

Reply via email to