from django.contrib import admin from models import * # from forms import ArticleForm class TabsInline(admin.StackedInline): model = ModuleTab extra = 4 class ModuleAdmin(admin.ModelAdmin): inlines = [TabsInline] # list_display = ('name', 'order',) # list_editable = ['order'] admin.site.register(Module, ModuleAdmin) #admin.site.register(SliderBox, SliderBoxAdmin)