I got, following Error messages,
TypeError at /save/ int() argument must be a string or a number, not \'SimpleLazyObject\'
Whi
You have to login when running this piece of code on localhost. Otherwise the request.user will be a SimpleLazyObject, then the errors comes out.
request.user
SimpleLazyObject