from django.contrib import admin

from jmbo.admin import ModelBaseAdmin
from superhero.models import Superhero


admin.site.register(Superhero, ModelBaseAdmin)

@@ -25,16 +25,41 @@
 rt admin
+%0Afrom django import forms
 %0A%0Afrom j
@@ -86,24 +86,25 @@
 elBaseAdmin%0A
+%0A
 from superhe
@@ -136,48 +136,408 @@
 o%0A%0A%0A
-admin.site.register(Superhero, ModelBase
+class SuperheroForm(forms.ModelForm):%0A%0A    class Meta:%0A        model = Superhero%0A%0A%0Aclass SuperheroAdmin(ModelBaseAdmin):%0A    form = SuperheroForm%0A%0A    def get_fieldsets(self, request, obj=None):%0A        result = super(SuperheroAdmin, self).get_fieldsets(request, obj=obj)%0A        result = list(result)%0A        return tuple(%5Bresult%5B0%5D, result%5B2%5D, result%5B3%5D%5D)%0A%0A%0Aadmin.site.register(Superhero, Superhero
 Admi

Simplify admin