langacore.kit.django 0.3.3 documentation
A set of common independent filters usable directly in Python code.
Converts any falsy value to None.
Template tag available in common app’s converters library.
Converts any type to int or returns a fallback number for falsy values. Except for falsy values, throws traditional ValueError if the input is uncovertable to int.
Template tag available in common app’s converters library.
| Parameters: |
|
|---|
A version of the builtin django.template.defaultfilters which doesn’t let empty strings as outcomes.
Template tag available in common app’s strings library.
| Parameters: |
|
|---|
Converts any falsy value to u"---".
Template tag available in common app’s strings library.
Like built-in |title filter but leaves existing caps alone, eg. 'I work for the FBI' -> 'I Work For The FBI'.
Template tag available in common app’s strings library.
If the country with the specified code is using Cyrillic alphabet, transliterates Latin strings using langacore.kit.i18n.translit.
Template tag available in common app’s strings library.