Reformat using black
This commit is contained in:
parent
efee4ad081
commit
a87fb49918
221 changed files with 19127 additions and 7310 deletions
|
@ -3,7 +3,7 @@ from django.utils import translation
|
|||
from . import registry
|
||||
|
||||
|
||||
@registry.function('language_info')
|
||||
@registry.function("language_info")
|
||||
def get_language_info(language):
|
||||
# ``language`` is either a language code string or a sequence
|
||||
# with the language code as its first item
|
||||
|
@ -13,6 +13,6 @@ def get_language_info(language):
|
|||
return translation.get_language_info(str(language))
|
||||
|
||||
|
||||
@registry.function('language_info_list')
|
||||
@registry.function("language_info_list")
|
||||
def get_language_info_list(langs):
|
||||
return [get_language_info(lang) for lang in langs]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue