Commits

Konrad Rymczak committed 3a82087

admin inline fix

Comments (0)

Files changed (2)

cmsplugin_tabslider/__init__.py

 # -*- coding: utf-8 -*-
-VERSION = (0, 1, 0)
+VERSION = (0, 1, 1)
 __version__ = '.'.join(map(str, VERSION))

cmsplugin_tabslider/admin.py

 # -*- coding: utf-8 -*-
 from django.contrib import admin
-from cms.admin.placeholderadmin import PlaceholderAdmin
 from models import Tab, TabSlider
 
 class TabInline(admin.StackedInline):
     model = Tab
 
 class TabSliderAdmin(admin.ModelAdmin):
-    inlines = [TabInline]
+    pass
 
 admin.site.register(TabSlider, TabSliderAdmin)
 admin.site.register(Tab)