Changes between Initial Version and Version 2 of Ticket #30280


Ignore:
Timestamp:
Mar 22, 2019, 7:08:14 AM (6 years ago)
Author:
Tim Graham
Comment:

Probably str() could be used where force_text() was used previously. By the way, you should explain how to reproduce the issue, i.e. what "under some circumstances" means.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #30280

    • Property Triage Stage UnreviewedAccepted
    • Property Summary _get_FIELD_display returns proxies in 2.2rc1 but always returned strings previouslyModel_get_FIELD_display() returns proxies in 2.2rc1 but always returned strings previously
  • Ticket #30280 – Description

    initial v2  
    1 I'm not sure whether that was wanted but https://github.com/django/django/commit/cc79c7ee637e65c8da27e56d746c87903d5ec901 (see https://code.djangoproject.com/ticket/27795 ) introduced a change where code which calls `get_*_display` got a string previously and now gets a proxy under some circumstances.
     1I'm not sure whether that was wanted but cc79c7ee637e65c8da27e56d746c87903d5ec901 (#27795) introduced a change where code which calls `get_*_display` got a string previously and now gets a proxy under some circumstances.
    22
    33If this isn't wanted (and I cannot find anything in the release notes saying that it is) then that's a regression which should be fixed before releasing Django 2.2.
Back to Top