utils.feedgenerator.SyndicationFeed.add_item_elements()
  • References/Python/Django/API/Django Utils

add_item_elements(handler, item) [source] Add elements on each item (i.e. item/entry) element

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

gettext_noop(message) [source]

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

get_fixed_timezone(offset) [source] Returns a

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

urlsafe_base64_encode(s) [source] Encodes a bytestring in base64 for use in URLs, stripping

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

parse_date(value) [source] Parses a string and returns a

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

patch_cache_control(response, **kwargs) [source] This function patches the Cache-Control

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

pgettext(context, message) [source] Translates message given the context

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

class Enclosure [source] Represents an RSS enclosure

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

urlencode(query, doseq=0) [source] A version of Python’s urllib.urlencode() function that

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

get_default_timezone() [source] Returns a

2025-01-10 15:47:30