def get_fieldsets(self, request, obj=None):
        if not obj:
            return self.add_fieldsets
        return super(ObjectDBAdmin, self).get_fieldsets(request, obj)
Return fieldsets.
dataset/ETHPy150Open evennia/evennia/evennia/objects/admin.py/ObjectDBAdmin.get_fieldsets