<s> from django import template <EOL> from transifex . teams . models import Team <EOL> register = template . Library ( ) <EOL> @ register . filter <EOL> def language_has_team ( lang_code , project ) : <EOL> """<STR_LIT>""" <EOL> return Team . objects . get_or_none ( project , lang_code ) </s>
