title: Django best way to get latest values after update?
body: <p>My django project has 2 models, User and Profile</p>
  
  <p>I have the code to update the profile using a dictionary <code>**profile</code></p>
  
  <pre><code>from django.forms.models import model_to_dict
  
  Profile.objects.filter(id=request.user.profile.id).update(**profile)
  print(model_to_dict(request.user.profile))
  </code></pre>
  
  <p>The print statement prints the old value I guess it's because the lazy query in the first statement <code>id=request.user.profile.id</code></p>
  
  <p>So for me to refresh profile, the only way right now I can think of is:</p>
  
  <pre><code>request.user.profile = Profile.objects.get(id=request.user.profile.id)
  </code></pre>
  
  <p>But to me this is not elegant, just wondering if there is a better way.</p>