This commit is contained in:
Trey t
2023-06-12 21:50:13 -05:00
parent 7fdbaaa6f5
commit 3da41c3352
33 changed files with 223 additions and 75 deletions

View File

@@ -5,4 +5,8 @@ from .models import *
# Register your models here.
@admin.register(Equipment)
class EquipmentAdmin(ImportExportModelAdmin):
list_display = ("name", "is_weight", "category",)
list_display = ("name", "is_weight", "category",)
@admin.register(WorkoutEquipment)
class WorkoutEquipmentAdmin(ImportExportModelAdmin):
list_display = ("equipment", "exercise",)