#30931: Cannot override get_FOO_display() in Django 2.2+.
-------------------------------------+-------------------------------------
     Reporter:  Jim Ouwerkerk        |                    Owner:  Carlton
         Type:                       |  Gibson
  Cleanup/optimization               |                   Status:  closed
    Component:  Documentation        |                  Version:  2.2
     Severity:  Release blocker      |               Resolution:  fixed
     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 Mariusz Felisiak <felisiak.mariusz@…>):

 In [changeset:"785d1706c411168d5acfa709157f60399ea690d0" 785d170]:
 {{{
 #!CommitTicketReference repository=""
 revision="785d1706c411168d5acfa709157f60399ea690d0"
 [2.2.x] Fixed #30931 -- Restored ability to override
 Model.get_FIELD_display().

 Thanks Sergey Fedoseev for the implementation idea.

 Regression in a68ea231012434b522ce45c513d84add516afa60.

 Backport of 2d38eb0ab9f78d68c083a5b78b1eca39027b279a from master
 }}}

-- 
Ticket URL: <https://code.djangoproject.com/ticket/30931#comment:27>
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/070.47e880d558d6d7e36f6dfa3fdb15a42b%40djangoproject.com.

Reply via email to