docs: def get_context_data(self, **kwargs):
          '''
          The URL to redirect to can be explicitly specified, or it can come
          from the site session history, or it can be the default admin success page
          as specified in the site settings.
          '''
  
          context = super(SubmissionRedirectView, self).get_context_data(**kwargs)
  
          redirect_url = unquote(self.request.GET.get('redirect_url', ''))
          if not redirect_url:
              redirect_url = self.get_return_page().get('url','')
          if not redirect_url:
              try:
                  redirect_url = Page.objects.get(
                      pk=getConstant('general__defaultAdminSuccessPage')
                  ).get_absolute_url(settings.LANGUAGE_CODE)
              except ObjectDoesNotExist:
                  redirect_url = '/'
  
          context.update({
              'redirect_url': redirect_url,
              'seconds': self.request.GET.get('seconds', 5),
          })
  
          return context