def by_code_or_alias_or_404(self, code):
        try:
            return self.by_code_or_alias(code)
        except Language.DoesNotExist:
            raise Http404
Return a language matches the code or something in code_aliases.
dataset/ETHPy150Open rvanlaar/easy-transifex/src/transifex/transifex/languages/models.py/LanguageManager.by_code_or_alias_or_404