Skip to content

Commit 5fda06f

Browse files
committed
Fix str method
1 parent b6cd318 commit 5fda06f

File tree

1 file changed

+1
-1
lines changed
  • django_features/custom_fields/models

1 file changed

+1
-1
lines changed

django_features/custom_fields/models/value.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ class Meta:
4444
verbose_name_plural = _("Benutzerdefinierte Werte")
4545

4646
def __str__(self) -> str:
47-
return self.label
47+
return self.text or ""
4848

4949
@property
5050
def text(self) -> str:

0 commit comments

Comments
 (0)