add ids to workout for better lookup on the backend

This commit is contained in:
Trey t
2024-08-28 11:41:28 -05:00
parent 7383a1db26
commit bc1c566f4d
2 changed files with 2 additions and 2 deletions

View File

@@ -18,7 +18,7 @@ class SupersetInline(admin.StackedInline):
@admin.register(Workout)
class WorkoutAdmin(ImportExportModelAdmin):
search_fields = ['name', 'description', ]
list_display = ("name", "description", "estimated_time", "registered_user", "created_at", "updated_at")
list_display = ("id", "name", "description", "estimated_time", "registered_user", "created_at", "updated_at")
inlines = [
SupersetInline,
]