from wagtail.snippets.models import register_snippet

from oscar.core.loading import get_class

TaskSnippetViewSet = get_class("task.wagtailadmin.viewsets", "TaskSnippetViewSet")

register_snippet(TaskSnippetViewSet)
