parameters: (url: Optional[str] = None)
return_statement: return urljoin(settings.SITE_URL.rstrip("/") + "/", url.lstrip("/"))
docstring: Returns an absolutely-formatted URL based on the `SITE_URL` config.
docstring_summary: Returns an absolutely-formatted URL based on the `SITE_URL` config.
docstring_tokens: Returns an absolutely - formatted URL based on the SITE_URL config .
function: def absolute_uri(url: Optional[str] = None) -> str:
      """
      Returns an absolutely-formatted URL based on the `SITE_URL` config.
      """
      if not url:
          return settings.SITE_URL
      return urljoin(settings.SITE_URL.rstrip("/") + "/", url.lstrip("/"))
function_tokens: def absolute_uri ( url : Optional [ str ] = None ) -> str : if not url : return settings . SITE_URL return urljoin ( settings . SITE_URL . rstrip ( "/" ) + "/" , url . lstrip ( "/" ) )