Are Django Model instances Hashable? For example, can I use a Django Model instance as a dictionary key, or create a Set of unique models?
If they are Hashable, what causes two Django Model instances to be considered the same? Does it implement Hashable naively such that it only consider them to be the same if they are the same Python object in memory, or does it use the value of the Model instance in some way?