is_aware(value) [source] Returns True if value is aware, False if it is naive. This function assumes that value is a datetime.
get_default_timezone() [source] Returns a tzinfo instance that represents the default time zone.
is_naive(value) [source] Returns True if value is naive, False if it is aware. This function assumes that value is a datetime.
get_current_timezone() [source] Returns a tzinfo instance that represents the current time zone.
get_current_timezone_name() [source] Returns the name of the current time zone.
activate(timezone) [source] Sets the current time zone. The timezone argument must be an instance of a tzinfo subclass or, if pytz is available, a time zone name.
deactivate() [source] Unsets the current time zone.
class FixedOffset(offset=None, name=None) [source] A tzinfo subclass modeling a fixed offset from UTC. offset is an integer number of minutes east of UTC.
class SafeUnicode Historical name of SafeText. Only available under Python 2.
class SafeText [source] A str (in Python 3) or unicode (in Python 2) subclass that has been specifically marked as “safe” for HTML output purposes.
Page 25 of 226