import wagtail_factories from vbv_lernwelt.learnpath.models import LearningPath class LearningPathFactory(wagtail_factories.PageFactory): class Meta: model = LearningPath