Commits

Luke Plant  committed 95d0701

Improved admin UI for CssClass by making it show more information in change list

  • Participants
  • Parent commits cc2ffe8

Comments (0)

Files changed (1)

File semanticeditor/admin.py

 from django.contrib import admin
 from semanticeditor.models import CssClass, CssClassCategory
 
+
 class CssClassAdmin(admin.ModelAdmin):
-    pass
+    list_display = ('verbose_name', 'name', 'category')
+
 
 admin.site.register(CssClass, CssClassAdmin)
 admin.site.register(CssClassCategory)