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

__init__(title, link, description, language=None, author_email=None, author_name=None, author_link=None, subtitle=None, categories=None, feed_url=None, feed_copyright=None

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

deactivate() [source] Unsets the current time zone.

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

html_safe() [source] The __html__() method on a class helps non-Django templates

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

get_current_timezone() [source] Returns a

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

deactivate() [source] Deactivates the currently active translation object so that further

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

keep_lazy_text(func) [source] New in Django 1

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

conditional_escape(text) [source] Similar to escape(), except that it doesn’t

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

root_attributes() [source] Return extra attributes to place on the root (i.e. feed/channel)

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

ugettext_noop(message) Marks strings for translation but doesn’t translate them now. This can be used to store strings in global

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

format_html(format_string, *args, **kwargs) [source] This is similar to

2025-01-10 15:47:30