A
A
Artyom Innokentiev2015-09-12 15:20:31
Django
Artyom Innokentiev, 2015-09-12 15:20:31

How to change model field value on button click?

The model has a BooleanField(default = True) field.
How to change this field to False on button click using Django template or JS but not using views.py?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
sim3x, 2015-09-12
@artinnok

Without twist - no way

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question