#30931: Cannot override get_FOO_display() in Django 2.2+.
--------------------------------------+------------------------------------
     Reporter:  Jim Ouwerkerk         |                    Owner:  (none)
         Type:  Cleanup/optimization  |                   Status:  new
    Component:  Documentation         |                  Version:  2.2
     Severity:  Normal                |               Resolution:
     Keywords:                        |             Triage Stage:  Accepted
    Has patch:  1                     |      Needs documentation:  0
  Needs tests:  0                     |  Patch needs improvement:  0
Easy pickings:  0                     |                    UI/UX:  0
--------------------------------------+------------------------------------

Comment (by Claude Paroz):

 I also think that if we find a way to make the `get_<field>_display()`
 properly override the metaclass-added method, I think we should do it,
 possibly with a backwards compatibility note if it breaks some old
 behavior.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/30931#comment:20>
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/070.f6b5b4eb71067e458574e6c458ac35cc%40djangoproject.com.

Reply via email to