Make activities not required for mood status
This commit is contained in:
parent
8e34e2579d
commit
af5e247680
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ from .models import Status, Activity
|
||||||
|
|
||||||
class StatusForm(ModelForm):
|
class StatusForm(ModelForm):
|
||||||
uploads = MultiFileField(required=False)
|
uploads = MultiFileField(required=False)
|
||||||
activities = ModelMultipleChoiceField(queryset=Activity.objects.all())
|
activities = ModelMultipleChoiceField(queryset=Activity.objects.all(), required=False)
|
||||||
|
|
||||||
class Meta:
|
class Meta:
|
||||||
model = Status
|
model = Status
|
||||||
|
|
Loading…
Reference in a new issue