I have a queryset like
ses = Session.objects.all() that I'd like to get the checksum from (in order to check if there have been changes).
By changes I mean created/deleted/updated rows.
I imagined:
from django.core import serializers new_chksum = serializers.serialize("json", ses).__hash__() Is it a good way to know if there have been changes in the queryset ?