'Same as from base class except if there are no fields, show an info message.'

def get_fieldsets(self, request, obj=None):

    fieldsets = super(CMSPluginBase, self).get_fieldsets(request, obj)
    for (name, data) in fieldsets:
        if data.get('fields'):
            return fieldsets
    if self.inlines:
        return []
    try:
        fieldsets[0][1]['description'] = self.get_empty_change_form_text(obj=obj)
    except KeyError:
        pass
    return fieldsets
