There's an alternative to overriding the __init__
method. Pass a session
instance with the user
set when you create the form.
session = Session(user=request.user)
form = SessionForm(data=request.POST, instance=session)
if form.is_valid():
form.save()
Then in your clean method, you can access the user as self.instance.user
.