utils.translation.ugettext()
  • References/Python/Django/API/Django Utils

ugettext(message) [source] Translates message and returns it in a unicode string

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

to_locale(language) [source] Turns a language name (en-us) into a locale name (en_US).

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

uri_to_iri(uri) [source] Converts a Uniform Resource Identifier into an Internationalized

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

filepath_to_uri(path) [source] Convert a file system path to a URI portion that is suitable

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

http_date(epoch_seconds=None) [source] Formats the time to match the

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

ungettext_lazy(singular, plural, number) [source]

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.feedgenerator.RssUserland091Feed
  • References/Python/Django/API/Django Utils

class RssUserland091Feed(RssFeed) [source] Spec:

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