]> git.parisson.com Git - teleforma.git/commitdiff
oops
authoryomguy <yomguy@parisson.com>
Fri, 8 Feb 2013 13:51:27 +0000 (14:51 +0100)
committeryomguy <yomguy@parisson.com>
Fri, 8 Feb 2013 13:51:27 +0000 (14:51 +0100)
teleforma/admin.py

index 3c032dcf21d3981f2e589dca0ba151ae8f8c7d53..18968214b8a6ad39e5b2af0da8a31d0f423731a6 100644 (file)
@@ -67,9 +67,9 @@ class SeminarQuestionInline(admin.StackedInline):
 
 class SeminarAdmin(admin.ModelAdmin):
     inlines = [SeminarQuestionInline,]
-    filter_horizontal = ['professor', 'medias',
+    filter_horizontal = ['professor', 'medias', 'docs_description',
                          'docs_1', 'docs_2', 'docs_correct']
-    ordering = ['course', 'rank', 'docs_description']
+    ordering = ['course', 'rank']
     search_fields = ['course__title', 'title', 'sub_title']
 
     class Media: