Added port info to site, so the links in api work

This commit is contained in:
Lorenz Padberg 2022-05-23 11:31:23 +02:00
parent 2a93c05bc2
commit 23c1ccfe7a
1 changed files with 3 additions and 0 deletions

View File

@ -13,6 +13,9 @@ def create_default_learning_path():
if not site:
site = wagtail_factories.SiteFactory(is_default_site=True)
site.port = 8000
site.save()
# create_default_competences()
lp = LearningPathFactory(title="Versicherungsvermittler/in", parent=site.root_page)