Skip to content

Commit

Permalink
saved run admin tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
devxpy committed Feb 12, 2024
1 parent 6cd5617 commit be8f58e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
7 changes: 6 additions & 1 deletion bots/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -264,10 +264,14 @@ class SavedRunAdmin(admin.ModelAdmin):
"view_parent_published_run",
"run_time",
"price",
"is_api_call",
"created_at",
"updated_at",
]
list_filter = ["workflow"]
list_filter = [
"workflow",
"is_api_call",
]
search_fields = ["workflow", "example_id", "run_id", "uid"]
autocomplete_fields = ["parent_version"]

Expand All @@ -281,6 +285,7 @@ class SavedRunAdmin(admin.ModelAdmin):
"created_at",
"updated_at",
"run_time",
"is_api_call",
]

actions = [export_to_csv, export_to_excel]
Expand Down
1 change: 0 additions & 1 deletion pages/UsageDashboard.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
Q(email__in=team_emails)
| Q(email__endswith="gooey.ai")
| Q(email__endswith="dara.network")
| Q(email__endswith="gooey.ai")
| Q(email__endswith="jaaga.in")
)

Expand Down

0 comments on commit be8f58e

Please sign in to comment.