def get_custom_fields(self):
        """ Return a list of custom fields for this model """
        return CustomField.objects.filter(
            content_type=ContentType.objects.get_for_model(self))
def get_custom_fields ( self ) : return CustomField . objects . filter ( content_type = ContentType . objects . get_for_model ( self ) )
Return a list of custom fields for this model