Commit 7fd2f4a1 authored by Jeremy Factor's avatar Jeremy Factor

added a list_filter object in assignment admin

parent 43260c21
...@@ -8,5 +8,6 @@ class AssignmentAdmin(admin.ModelAdmin): ...@@ -8,5 +8,6 @@ class AssignmentAdmin(admin.ModelAdmin):
search_fields = ('name',) search_fields = ('name',)
list_display = ('name', 'description',) list_display = ('name', 'description',)
list_filter = ('max_points',)
admin.site.register(Assignment, AssignmentAdmin) admin.site.register(Assignment, AssignmentAdmin)
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment