Search % filter courses
This commit is contained in:
parent
135e8e96a9
commit
64ee67ced6
1 changed files with 2 additions and 0 deletions
|
|
@ -221,6 +221,8 @@ class TrainingAdmin(admin.ModelAdmin):
|
|||
|
||||
class CourseAdmin(admin.ModelAdmin):
|
||||
list_display = ('teacher', 'public', 'subject', 'period', 'imputation')
|
||||
list_filter = ('imputation', )
|
||||
search_fields = ('teacher__last_name', 'public', 'subject')
|
||||
|
||||
|
||||
admin.site.register(Section)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue