$0.2

How to change Boolean value inside template?

Ask a question+
0

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

add comment

0 Answer

Your Answer