Skip to content

Commit e978d9b

Browse files
wfehrfsbraun
andauthored
correctly migrate versions for (old) static-placeholders into alias (#26)
- fixes #25 Co-authored-by: Fabian Braun <[email protected]>
1 parent a333893 commit e978d9b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

djangocms_4_migration/management/commands/migrate_static_placeholders.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55

66
from itertools import chain
77

8+
from django.contrib.contenttypes.models import ContentType
89
from django.core.management.base import BaseCommand
910
from django.contrib.contenttypes.models import ContentType
1011

@@ -143,7 +144,6 @@ def _create_alias_content(alias, name, language, user, state=PUBLISHED):
143144
created_by=user,
144145
state=state,
145146
)
146-
147147
logger.info(f"Created AliasContent {alias_content}")
148148

149149
return alias_content

0 commit comments

Comments
 (0)