• Anssi Kääriäinen's avatar
    Fixed #22994 -- regression with generic FK + admin list_view · 9cd5201a
    Anssi Kääriäinen yazdı
    The reason for the regression was that the GenericForeignKey field isn't
    something meta.get_field_by_name() should return. The reason is that a
    couple of places in Django expects get_field_by_name() to work this way.
    It could make sense to return GFKs from get_field_by_name(), but that
    should likely be done as part of meta refactoring or virtual fields
    refactoring patches.
    
    Thanks to glicerinu@gmail.com for the report and to Tim for working on
    the issue.
    9cd5201a
Adı
Son kayıt (commit)
Son güncelleme
..
fixtures Loading commit data...
templates Loading commit data...
__init__.py Loading commit data...
admin.py Loading commit data...
customadmin.py Loading commit data...
forms.py Loading commit data...
models.py Loading commit data...
tests.py Loading commit data...
urls.py Loading commit data...
views.py Loading commit data...