Skip to content

Commit

Permalink
update connection admin
Browse files Browse the repository at this point in the history
  • Loading branch information
czue committed Nov 2, 2023
1 parent d16a71e commit 0d2a714
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions ex-submodules/rapidsms/lib/rapidsms/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,12 @@ class ContactAdmin(admin.ModelAdmin):

class ConnectionAdmin(admin.ModelAdmin):
model = Connection
list_display = ["backend", "identity", "contact"]
list_filter = ["backend", "identity", "contact"]
list_display = ["contact", "backend", "identity"]
list_filter = ["backend", "contact"]
search_fields = ["identity"]


admin.site.register(App)
admin.site.register(Backend)
admin.site.register(Connection)
admin.site.register(Connection, ConnectionAdmin)
admin.site.register(Contact, ContactAdmin)

0 comments on commit 0d2a714

Please sign in to comment.