4
Django 템플릿을 사용하는 문장에서 복수형을 정의하는 가장 좋은 방법은 무엇입니까? 예를 들어 :Django에서 pluralize를 사용할 때 인간화된 문장
<p>
Your item{{ items|length|pluralize }}
is/are
currently being processed and will ship soon.
</p>
Django 템플릿을 사용하는 문장에서 복수형을 정의하는 가장 좋은 방법은 무엇입니까? 예를 들어 :Django에서 pluralize를 사용할 때 인간화된 문장
<p>
Your item{{ items|length|pluralize }}
is/are
currently being processed and will ship soon.
</p>
, 당신은 시도 할 수
Your item{{ items|length|pluralize:" is,s are" }}
currently being processed and will ship soon.