Answers for "django changing boolean field from view"

0

django changing boolean field from view

post = Post.objects.get(id=id)
post.is_activate = True
post.save()
Posted by: Guest on September-11-2021

Python Answers by Framework

Browse Popular Code Answers by Language