Make themes not required for dreams
This commit is contained in:
parent
af5e247680
commit
1619f6895f
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ from .models import Dream, Theme
|
||||||
|
|
||||||
class DreamForm(ModelForm):
|
class DreamForm(ModelForm):
|
||||||
uploads = MultiFileField(required=False)
|
uploads = MultiFileField(required=False)
|
||||||
themes = ModelMultipleChoiceField(queryset=Theme.objects.all())
|
themes = ModelMultipleChoiceField(queryset=Theme.objects.all(), required=False)
|
||||||
|
|
||||||
class Meta:
|
class Meta:
|
||||||
model = Dream
|
model = Dream
|
||||||
|
|
Loading…
Reference in a new issue