add ids to workout for better lookup on the backend
This commit is contained in:
@@ -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,
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user