Skip to content

Commit

Permalink
feat(#87): Can now filter by some select fields on the store admin page
Browse files Browse the repository at this point in the history
  • Loading branch information
Evanlab02 committed Nov 20, 2024
1 parent 3a932c3 commit 3456748
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions backend/stores/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ class StoreAdmin(ModelAdmin): # type: ignore
"""Admin configuration class for store models."""

list_display = ["name", "store_type", "description", "created_at", "updated_at", "user"]
list_filter = ["store_type", "user", "created_at", "updated_at"]


admin.site.register(Store, StoreAdmin)
Expand Down

0 comments on commit 3456748

Please sign in to comment.