utils.safestring.SafeText
  • References/Python/Django/API/Django Utils

class SafeText [source] A str (in Python 3) or unicode (in Python

2025-01-10 15:47:30
utils.feedgenerator.SyndicationFeed.write()
  • References/Python/Django/API/Django Utils

write(outfile, encoding) [source] Outputs the feed in the given encoding to outfile

2025-01-10 15:47:30
utils.translation.get_language_from_request()
  • References/Python/Django/API/Django Utils

get_language_from_request(request, check_path=False) [source] Analyzes the request to find

2025-01-10 15:47:30
utils.http.urlquote_plus()
  • References/Python/Django/API/Django Utils

urlquote_plus(url, safe='') [source] A version of Python’s urllib.quote_plus() function that

2025-01-10 15:47:30
utils.encoding.force_bytes()
  • References/Python/Django/API/Django Utils

force_bytes(s, encoding='utf-8', strings_only=False, errors='strict') [source] Similar to

2025-01-10 15:47:30
utils.feedgenerator.SyndicationFeed
  • References/Python/Django/API/Django Utils

class SyndicationFeed [source] Base class for all syndication feeds. Subclasses should provide

2025-01-10 15:47:30
utils.feedgenerator.Rss201rev2Feed
  • References/Python/Django/API/Django Utils

class Rss201rev2Feed(RssFeed) [source] Spec:

2025-01-10 15:47:30
utils.http.cookie_date()
  • References/Python/Django/API/Django Utils

cookie_date(epoch_seconds=None) [source] Formats the time to ensure compatibility with Netscape’s

2025-01-10 15:47:30
utils.html.format_html_join()
  • References/Python/Django/API/Django Utils

format_html_join(sep, format_string, args_generator) [source] A wrapper of format_html()

2025-01-10 15:47:30
utils.functional.cached_property
  • References/Python/Django/API/Django Utils

class cached_property(object, name) [source] The @cached_property decorator

2025-01-10 15:47:30