Thanks for the specific advice. I will try that.
On Sunday, February 13, 2022 at 9:33:16 AM UTC+1 sebasti...@gmail.com wrote:
> Hello,
>
> You overwright in forms.py in your form save()
>
> Example:
>
> def save(self, commit=True):
> instance = super(MyForm, self).save(commit=False)
> ins
Hello,
You overwright in forms.py in your form save()
Example:
def save(self, commit=True):
instance = super(MyForm, self).save(commit=False)
instance.flag1 = 'flag1' in self.cleaned_data['multi_choice'] # etc
if commit:
instance.save()
return instance
'MH' via Django u
2 matches
Mail list logo