def get_related_products(self):
        cache_key = "%s-related-products-%s" % (settings.CACHE_MIDDLEWARE_KEY_PREFIX, self.id)
        related_products = cache.get(cache_key)

        if related_products is None:
            if self.is_variant() and not self.active_related_products:
                related_products = self.parent.related_products.all()
            else:
                related_products = self.related_products.all()

            cache.set(cache_key, related_products)

        return related_products
If needed, start SSL on the proxy or endpoint connection.
dataset/ETHPy150Open diefenbach/django-lfs/lfs/catalog/models.py/Product.get_related_products--crossover with--dataset/ETHPy150Open sassoftware/conary/conary/lib/http/connection.py/Connection.startSSL