escape(text) [source] Returns the given text with ampersands, quotes and angle brackets encoded
gettext_lazy(message)
gettext(message) [source] Translates message and returns it in a UTF-8 bytestring
slugify(allow_unicode=False) [source] Converts to ASCII if allow_unicode is
deactivate() [source] Deactivates the currently active translation object so that further
deactivate() [source] Unsets the current time zone.
conditional_escape(text) [source] Similar to escape(), except that it doesn’t
npgettext(context, singular, plural, number) [source] Translates singular and
class SafeUnicode Historical name of SafeText. Only available under Python 2.
root_attributes() [source] Return extra attributes to place on the root (i.e. feed/channel)
Page 1 of 12