Skip to content

Commit

Permalink
add is_solution field to the Resource model
Browse files Browse the repository at this point in the history
- add manytomany fields to the autocomplete_fields in the admin
- remove link objects of resources & references on the fixtures
  • Loading branch information
ar-ekt committed Mar 10, 2024
1 parent eb02c26 commit 0cc368d
Show file tree
Hide file tree
Showing 11 changed files with 460 additions and 4,920 deletions.
2 changes: 1 addition & 1 deletion classrooms/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class ClassroomInlineAdmin(admin.TabularInline):
@admin.register(Classroom)
class ClassroomAdmin(BaseAdminMixin, nested_admin.NestedModelAdmin):
inlines = (ResourceNestedInlineAdmin, RecordedClassroomNestedInlineAdmin)
autocomplete_fields = ("course",)
autocomplete_fields = ("course", "professors", "tas",)
list_per_page = 25
list_display = ("uuid", "year", "semester", "course",
"tas_count", "professors_count",
Expand Down
Loading

0 comments on commit 0cc368d

Please sign in to comment.