Skip to content

Commit 698ec4f

Browse files
committed
fix: Remove choices from AliasContent language field
1 parent e237613 commit 698ec4f

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

djangocms_alias/models.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -278,10 +278,6 @@ class Meta:
278278
verbose_name = _("alias content")
279279
verbose_name_plural = _("alias contents")
280280

281-
def __init__(self, *args, **kwargs):
282-
super().__init__(*args, **kwargs)
283-
self._meta.get_field("language").choices = settings.LANGUAGES
284-
285281
def __str__(self):
286282
return f"{self.name} ({self.language})"
287283

0 commit comments

Comments
 (0)