I have a simple view, but can't get it to do what it's supposed to, which is simply flip a Boolean Value:
def change_status(request):
request.user.get_profile().active=not request.user.get_profile().active
return render_to_response('holdstatus.html', {
'user' : request.user,
})
In addition to "not", I've tried '-' and '!', but all to no avail.