1
How can you be sure you are not saving that value to database?
When you click the save button, the instance is updated in database.
For testing queries and see directly the values in the database i recommend you to use shell_plus
0
You can get the original data via obj.pk
def response_change(self, request, obj):
original_obj = User.objects.get(obj.pk)
- [Answer]-After adding Django CMS to my project, management commands fail with a cache error. How can I fix it?
- [Answer]-Passing RSS feeds to django view using AJAX
Source:stackexchange.com