Skip to content

Commit

Permalink
Fix AddonsConfig admin base_version. (#11825)
Browse files Browse the repository at this point in the history
  • Loading branch information
ericholscher authored Dec 5, 2024
1 parent 151582f commit 8953c90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion readthedocs/projects/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,7 @@ class EnvironmentVariableAdmin(admin.ModelAdmin):
@admin.register(AddonsConfig)
class AddonsConfigAdmin(admin.ModelAdmin):
model = AddonsConfig
raw_id_fields = ("project",)
raw_id_fields = ("project", "options_base_version")
list_display = ("project", "enabled")
search_fields = ("project__slug",)
list_editable = ("enabled",)
Expand Down

0 comments on commit 8953c90

Please sign in to comment.