About Refreshing Model Instance
To refresh a model instance values from the database, use the refresh_from_db()
method.
profile_form.save()
request.user.refresh_from_db()
Tips and Tricks Programming Django 3.2 Django 2.2 Django 1.11 Django 1.8
Also by me
Django Paddle Subscriptions app
For Django-based SaaS projects.
Django App for You
Django GDPR Cookie Consent app
For Django websites that use cookies.
Django App for You