def get_fieldsets(self, request, obj=None):
<EOL>if (hasattr(self, '<STR_LIT>') and self.declared_fieldsets)or not self.base_fieldsets:<EOL><INDENT>return super(PolymorphicChildModelAdmin, self).get_fieldsets(request, obj)<EOL><DEDENT>other_fields = self.get_subclass_fields(request, obj)<EOL>if other_fields:<EOL><INDENT>return (<EOL>(self.extra_fieldset_title, {'<STR_LIT>': other_fields}),<EOL>) + self.base_fieldsets<EOL><DEDENT>else:<EOL><INDENT>return self.base_fieldsets<EOL><DEDENT>
Override polymorphic default to put the subclass-specific fields first