code: def get(self, *args, **kwargs):
          
          extra_context = {}
          try:
              activated_user = self.activate(*args, **kwargs)
          except ActivationError as e:
              extra_context['activation_error'] = {
                  'message': e.message,
                  'code': e.code,
                  'params': e.params
              }
          else:
              signals.user_activated.send(
                  sender=self.__class__,
                  user=activated_user,
                  request=self.request
              )
              return HttpResponseRedirect(
                  force_text(
                      self.get_success_url(activated_user)
                  )
              )
          context_data = self.get_context_data()
          context_data.update(extra_context)
          return self.render_to_response(context_data)
docs: The base activation logic; subclasses should leave this method
          alone and implement activate(), which is called from this
          method.