force_str(s, encoding='utf-8', strings_only=False, errors='strict') Alias of force_bytes() on Python 2 and
is_protected_type(obj) [source] Determine if the object instance is of a protected type.
get_cache_key(request, key_prefix=None) [source] Returns a cache key based on the request
pgettext_lazy(context, message) Same as the non-lazy versions above, but using lazy execution. See
strip_tags(value) [source] Tries to remove anything that looks like an HTML tag from the
class SafeText [source] A str (in Python 3) or unicode (in Python
cookie_date(epoch_seconds=None) [source] Formats the time to ensure compatibility with Netscape’s
class Rss201rev2Feed(RssFeed) [source] Spec:
write(outfile, encoding) [source] Outputs the feed in the given encoding to outfile
get_language_from_request(request, check_path=False) [source] Analyzes the request to find
Page 10 of 12