def get_english_lang():
 try:
  return Language.objects.get_default().id
 except (Language.DoesNotExist, OperationalError):
  return 65535

def get_english_lang ( ) : try : return Language . objects . get_default ( ) . id except ( Language . DoesNotExist , OperationalError ) : return 65535
returns object id for english language .