Skip to content

Commit

Permalink
feat: make course searchable in courseRun admin (#3341)
Browse files Browse the repository at this point in the history
  • Loading branch information
marslanabdulrauf authored Dec 23, 2024
1 parent 9bde939 commit 797fa3b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions courses/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ class CourseRunAdmin(TimestampedModelAdmin):
)
list_filter = ["live", "course__platform", "course"]
list_select_related = ["course", "course__platform"]
autocomplete_fields = ["course"]

formfield_overrides = {
models.CharField: {"widget": TextInput(attrs={"size": "80"})}
Expand Down

0 comments on commit 797fa3b

Please sign in to comment.