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: 5e150ea85a
5e150ea85a