parameters: ()
return_statement: return dict(static_url=static_url, STATIC_URL=static_url)
docstring: Inject the variables 'static_url' and 'STATIC_URL' into the templates to
      avoid hard-coded paths to static files. Grab it from the environment
      variable STATIC_URL, or use the default. Never has a trailing slash.
docstring_summary: Inject the variables 'static_url' and 'STATIC_URL' into the templates to
      avoid hard-coded paths to static files. Grab it from the environment
      variable STATIC_URL, or use the default. Never has a trailing slash.
docstring_tokens: Inject the variables static_url and STATIC_URL into the templates to avoid hard - coded paths to static files . Grab it from the environment variable STATIC_URL or use the default . Never has a trailing slash .
function: def inject_static_url():
      """
      Inject the variables 'static_url' and 'STATIC_URL' into the templates to
      avoid hard-coded paths to static files. Grab it from the environment
      variable STATIC_URL, or use the default. Never has a trailing slash.
      """
      static_url = settings.STATIC_URL or app.static_url_path
      if static_url.endswith('/'):
          static_url = static_url.rstrip('/')
      return dict(static_url=static_url, STATIC_URL=static_url)
function_tokens: def inject_static_url ( ) : static_url = settings . STATIC_URL or app . static_url_path if static_url . endswith ( '/' ) : static_url = static_url . rstrip ( '/' ) return dict ( static_url = static_url , STATIC_URL = static_url )