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 = ('video_url', 'audio_url',)
