code: def get_language():
      
      from parler import appsettings
      language = dj_get_language()
      if language is None and appsettings.PARLER_DEFAULT_ACTIVATE:
          return appsettings.PARLER_DEFAULT_LANGUAGE_CODE
      else:
          return language
docs: Wrapper around Django's `get_language` utility.
      For Django >= 1.8, `get_language` returns None in case no translation is activate.
      Here we patch this behavior e.g. for back-end functionality requiring access to translated fields