Skip to content

Commit

Permalink
fix: LinkField defaulted to blank=True
Browse files Browse the repository at this point in the history
  • Loading branch information
fsbraun committed Oct 30, 2024
1 parent b656183 commit afdb591
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion djangocms_link/fields.py
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,6 @@ class LinkField(JSONField):

def __init__(self, *args, **kwargs):
kwargs.setdefault("default", dict)
kwargs.setdefault("blank", True)
kwargs.setdefault("help_text", "-") # Help text is set by the widget
super().__init__(*args, **kwargs)

Expand Down

0 comments on commit afdb591

Please sign in to comment.