2
You can use the django.forms.models.model_to_dict
method and compare the resulting dictionaries with a simple dict1 == dict2
.
Source:stackexchange.com
2
You can use the django.forms.models.model_to_dict
method and compare the resulting dictionaries with a simple dict1 == dict2
.