code: def render(self, *args, **kwargs):
          
          output = super(HeavySelect2Mixin, self).render(*args, **kwargs)
          self.set_to_cache()
          return output
docs: Render widget and register it in Django's cache.