Skip to content

Commit

Permalink
Update admin.py
Browse files Browse the repository at this point in the history
  • Loading branch information
danieleguido authored Nov 29, 2024
1 parent fcfef3e commit 2eff8c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion miller/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ class TagAdmin(admin.ModelAdmin):

class MentionAdmin(admin.ModelAdmin):
list_filter = ["from_story", "to_story"]
search_fields = ["from_story", "to_story"]
search_fields = ["from_story__slug", "to_story__slug"]
autocomplete_fields = ["from_story", "to_story"]
ordering = ["-date_created"]

Expand Down

0 comments on commit 2eff8c2

Please sign in to comment.