def get_optionsets(self):
        if self.declared_optionsets:
            return self.declared_optionsets
        return [(None, {'fields': self.base_fields.keys() })]
Hook for specifying fieldsets for the add form.
dataset/ETHPy150Open joke2k/django-options/django_options/forms.py/OptionsForm.get_optionsets