Skip to content

Commit

Permalink
show visits on workspace invite admin
Browse files Browse the repository at this point in the history
  • Loading branch information
nikochiko committed Dec 18, 2024
1 parent 8b0add2 commit 42c9f04
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion workspaces/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,20 @@ class WorkspaceInviteAdmin(admin.ModelAdmin):
"email",
"status",
"has_expired",
"visits",
"created_by",
"updated_by",
"created_at",
"updated_at",
]
list_filter = ["created_at", "status"]
readonly_fields = ["auto_accepted", "has_expired", "created_at", "updated_at"]
readonly_fields = [
"visits",
"auto_accepted",
"has_expired",
"created_at",
"updated_at",
]
autocomplete_fields = ["workspace", "created_by", "updated_by"]


Expand Down

0 comments on commit 42c9f04

Please sign in to comment.