How to change Boolean value inside template?

Ask a question
0

In Django I am creating registration form for multiple user types. I have set in models Boolean field which is set to false. My form file has registration fields where Boolean equal to false. I have registration view. Is there any possibility to change Boolean value inside template? I need that after registration in created user Boolean field has become true. I do not need to print Boolean at all.

offer bounty
add comment

0 Answer

Your Answer