pytoolbox.django.models.utils module¶
Some utilities related to the model layer.
-
pytoolbox.django.models.utils.
get_content_type_dict
(instance)[source]¶ Return a dictionary with the serialized content type and private key of given instance.
Some utilities related to the model layer.
pytoolbox.django.models.utils.
get_content_type_dict
(instance)[source]¶Return a dictionary with the serialized content type and private key of given instance.