Skip to content

Commit 46899df

Browse files
Add game search fields to admin
Update server/game_dev/admin.py to to give the committee the option to lookup games. Co-authored-by: James Lee <82937700+SafetyInObscurity@users.noreply.github.com>
1 parent 8bd9d4e commit 46899df

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

server/game_dev/admin.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ class GameShowcaseAdmin(admin.ModelAdmin):
2121

2222
class GamesAdmin(admin.ModelAdmin):
2323
list_display = ("id", "name", "description", "completion", "active", "hostURL", "itchEmbedID", "thumbnail", "event")
24+
search_fields = ["name", "description"]
2425

2526

2627
admin.site.register(Member, MemberAdmin)

0 commit comments

Comments
 (0)