Answer the question
In order to leave comments, you need to log in
Why saves the object like this?
There is a fields dictionary that comes by Ajax from the form (fields = request.POST):
{'name': 'test', 'phone': '7 999 888 77 66'}
Then I create an object through create
Account.objects.create(**fields)
And for some reason it is saved like this:
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question