init commit

init commit
This commit is contained in:
Trey t
2023-06-11 20:09:22 -05:00
commit a2fd663255
946 changed files with 38811 additions and 0 deletions

10
exercise/admin.py Normal file
View File

@@ -0,0 +1,10 @@
from django.contrib import admin
from import_export.admin import ImportExportModelAdmin
from .models import *
# Register your models here.
@admin.register(Exercise)
class ExerciseAdmin(ImportExportModelAdmin):
search_fields = ['name', 'description', 'movement_patterns']
list_display = ("name", "description", "synonyms",)
readonly_fields = ('return_video_url',)