code: def get_view_url(self):
          
          if not self.view_url_name:
              # Sadly, class based views can't work with reverse(func_pointer) as that's unknown.
              # Neither is it possible to use resolve(self.request.path).view_name in this function as auto-detection.
              # This function can be called in the context of a different language.
              # When i18n_patterns() is applied, that resolve() will fail.
              #
              # Hence, you need to provide a "view_url_name" as static configuration option.
              raise ImproperlyConfigured("Missing `view_url_name` attribute on {0}".format(self.__class__.__name__))
  
          return reverse(self.view_url_name, args=self.args, kwargs=self.kwargs)
docs: This method is used by the ``get_translated_url`` template tag.
  
          By default, it uses the :attr:`view_url_name` to generate an URL.
          When the URL ``args`` and ``kwargs`` are translatable,
          override this function instead to generate the proper URL.