[Django]-Django โ€“ saving values from a form to database

6๐Ÿ‘

โœ…

  f_user = User.objects.get(username=request.user.id)

Username is presumabely request.user.username

Or, just user User.objects.get(id=request.user.id)

Actually what is my caffienated ass saying? You have your user object right there!

request.user : )

Leave a comment