(Django) Cannot assign "u'1'": "StaffProfile.user" must be a "User" instance
You need to assign a User object e.g.
from django.contrib.auth.models import User
user = User.objects.get(id=user_id)
staffprofile.user = user
user
needs to be an instance of the User
model, not a unicode object (which is what you are passing it).