checking hasattr(self, 'fieldsets') alway returns true, and produces
different effects. The hasattr(self, 'declared_fieldsets') was designed
to detect whether Django injected that attribute.
Amends:
|
||
|---|---|---|
| .. | ||
| __init__.py | ||
| childadmin.py | ||
| filters.py | ||
| forms.py | ||
| generic.py | ||
| helpers.py | ||
| inlines.py | ||
| parentadmin.py | ||