data() considered harmful
[edumed.git] / catalogue / admin.py
index eb634c3..0e3c635 100755 (executable)
@@ -6,6 +6,7 @@ class AttachmentInline(admin.TabularInline):
 
 class LessonAdmin(admin.ModelAdmin):
     inlines = [AttachmentInline]
+    list_display = ['title', 'section', 'type']
 
 admin.site.register(Section)
 admin.site.register(Lesson, LessonAdmin)