utils.feedgenerator.Atom1Feed
  • References/Python/Django/API/Django Utils

class Atom1Feed(SyndicationFeed) [source] Spec:

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

deactivate_all() [source] Makes the active translation object a NullTranslations()

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

check_for_language(lang_code) [source] Checks whether there is a global language file for

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

get_cache_key(request, key_prefix=None) [source] Returns a cache key based on the request

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

add_root_elements(handler) [source] Add elements in the root (i.e. feed/channel) element

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

add_item(title, link, description, author_email=None, author_name=None, author_link=None, pubdate=None, comments=None, unique_id=None, enclosure=None, categories=(),

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

smart_unicode(s, encoding='utf-8', strings_only=False, errors='strict') Historical name of smart_text(). Only available

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

iri_to_uri(iri) [source] Convert an Internationalized Resource Identifier (IRI) portion to

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

mark_for_escaping(s) [source] Deprecated

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

npgettext_lazy(context, singular, plural, number) [source] Same as the non-lazy versions

2025-01-10 15:47:30