Make themes not required for dreams
This commit is contained in:
parent
c7c1df13bb
commit
84b93b20b3
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