I Found problem, it was triple collision:
pycharm debugging sideeffect, wrong inheritance in _init_, but most
destructive was form fields: it overwrites instance values with None.
(if someone find this post from search
anyway, thanks for reply
--
You received this message because you are subsc
On Jul 5, 8:17 am, Constantine wrote:
> def view(request)
> form = MyForm(request.POST, instance = MyModel(myfiled = 1))
> if form.is_valid():
> obj = form.save()
>
> but POST will NEVER merged with instance i've looked through stack:
(snip)
> in doesn't populate instance with clea
2 matches
Mail list logo