Good-day everyone. I want to know how i can change the value of a model-field through the number of items in a defined sessions list
I have already made a profile model
Try this:
UserProfile.objects.filter(user=request.user).update(level='R')