Skip to content

Commit 0ae1c23

Browse files
jerioxfelixrindt
andcommitted
allow qualifications without any included qualifications to be created through django-admin (#165)
Co-authored-by: Felix Rindt <[email protected]>
1 parent 5d53724 commit 0ae1c23

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ephios/user_management/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ class Qualification(Model):
157157
verbose_name=_("category"),
158158
)
159159
included_qualifications = models.ManyToManyField(
160-
"self", related_name="included_by", symmetrical=False
160+
"self", related_name="included_by", symmetrical=False, blank=True
161161
)
162162

163163
def __eq__(self, other):

0 commit comments

Comments
 (0)