code: def get_culture_pair(self, code):
          
          if not any(x in code for x in ('_', '-')):
              raise ValueError("%s is not a valid culture code" % code)
  
          cc = CultureCode.objects.get(code=code.replace('_', '-'))
          return cc.language, cc.country
docs: #  Return a tuple of the language and country for a given culture code
          :param code:
          :return: