text: import os
  
  from django.conf import settings
  from django.contrib.staticfiles.templatetags.staticfiles import static
  
  
  def get_prefix():
      return getattr(settings, 'FONTAWESOME_5_PREFIX', 'fa')
  
  
  def get_icon_renderer():
      from .renderers import DefaultRenderer, SemanticUIRenderer
      renderers = {
          'default': DefaultRenderer,
          'semantic_ui': SemanticUIRenderer
      }
      return renderers[getattr(settings, 'FONTAWESOME_5_RENDERER', 'default')]
  
  
  def get_fontawesome_5_css():
      return getattr(settings, 'FONTAWESOME_5_CSS', static('fontawesome_5/css/all.min.css'))
  
  
  def get_css():
      css = [static('django-fontawesome.css'),]
      fontawesome_5_css = get_fontawesome_5_css()
      if fontawesome_5_css:
          css.append(fontawesome_5_css)
      return css
  
  
  def get_css_admin():
      css = [static('django-fontawesome.css'), static('fontawesome_5/css/all.min.css')]
      css_admin = getattr(settings, 'FONTAWESOME_5_CSS_ADMIN', None)
      if css_admin:
          css.append(css_admin)
      return css
  