Karen Tracey 909e002808 Fix UnboundLocalError than could occur during ModelAdmin validation. 14 anos atrás
..
__init__.py b31568aed3 Fixed #8027: correctly validate fields/fieldsets in `ModelAdmin` validation when using custom `ModelForm`s. 16 anos atrás
models.py 0a9b5d7ade Fixed #15424 -- Corrected lookup of callables listed in admin inlines' `readonly_fields` by passing the right ModelAdmin (sub)class instance when instantiating inline forms admin wrappers. Also, added early validation of its elements. Thanks kmike for the report and Karen for the patch fixing the issue. 14 anos atrás
tests.py 909e002808 Fix UnboundLocalError than could occur during ModelAdmin validation. 14 anos atrás