api changes
make superset tappable with no title sort / filter / search on superset
This commit is contained in:
@@ -15,7 +15,8 @@ class SupersetExerciseInline(admin.StackedInline):
|
||||
|
||||
@admin.register(Superset)
|
||||
class SupersetAdmin(ImportExportModelAdmin):
|
||||
list_display = ("name", "workout", "order", "rounds", "get_workout_id", "estimated_time",)
|
||||
search_fields = ['workout__id', 'name']
|
||||
list_display = ("name", "get_workout_id", "workout", "order", "rounds", "estimated_time",)
|
||||
ordering = ("order",)
|
||||
inlines = [
|
||||
SupersetExerciseInline,
|
||||
|
||||
Reference in New Issue
Block a user