Module Expr Str Import alias Import alias Import alias Import alias Import alias identifier ImportFrom alias ImportFrom alias TryExcept body Import alias Assign NameStore NameLoad handlers ExceptHandler type NameLoad body Assign NameStore NameLoad If NameLoad body Assign NameStore AttributeLoad NameLoad attr orelse FunctionDef arguments args defaults body Return Str decorator_list Assign NameStore Dict Assign NameStore Dict Assign NameStore NameLoad Assign NameStore Dict Assign NameStore Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str If CompareGtE NameLoad Num body If NameLoad body Return BinOpAdd BinOpAdd Call AttributeLoad SubscriptLoad NameLoad Slice NameLoad attr Str Call AttributeLoad SubscriptLoad NameLoad Slice BinOpAdd NameLoad Num attr orelse Return BinOpAdd BinOpAdd Call AttributeLoad SubscriptLoad NameLoad Slice NameLoad attr Str Call AttributeLoad SubscriptLoad NameLoad Slice BinOpAdd NameLoad Num attr orelse Return Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str If CompareGtE NameLoad Num body Return BinOpAdd BinOpAdd Call AttributeLoad SubscriptLoad NameLoad Slice NameLoad attr Str Call AttributeLoad SubscriptLoad NameLoad Slice BinOpAdd NameLoad Num attr orelse Return Call AttributeLoad NameLoad attr decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam defaults vararg kwarg body ImportFrom alias Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad TryExcept body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Pass Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return BinOpMod Str AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list decorator_list FunctionDef arguments args NameParam defaults body Expr Str Global identifier Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad If CompareIsNot NameLoad NameLoad body Return NameLoad ImportFrom alias Assign NameStore NameLoad If CompareLt AttributeLoad NameLoad attr TupleLoad Num Num body Assign NameStore NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr attr Str If CompareIsNot AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Num Dict Dict ListLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str orelse Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam defaults NameLoad body Global identifier Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad If CompareIsNot NameLoad NameLoad body Return NameLoad FunctionDef arguments args NameParam defaults body TryExcept body Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad ListLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad handlers ExceptHandler type NameLoad name NameStore body Return NameLoad decorator_list Assign NameStore Call NameLoad NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad NameLoad If CompareIsNot NameLoad NameLoad body If CompareIs NameLoad NameLoad body Return NameLoad orelse Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list If Call NameLoad NameLoad Str body For NameStore AttributeLoad NameLoad attr body If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Assign NameStore Call NameLoad NameLoad If BoolOpAnd NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Assign NameStore Call NameLoad NameLoad For NameStore AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr Str If CompareGtE NameLoad Num body Assign NameStore Call NameLoad Call NameLoad SubscriptLoad NameLoad Slice NameLoad Dict Dict ListLoad SubscriptLoad NameLoad Slice BinOpAdd NameLoad Num SubscriptLoad NameLoad Slice BinOpAdd NameLoad Num orelse Assign NameStore Call NameLoad NameLoad Dict Dict ListLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Assign NameStore Call NameLoad NameLoad If CompareIs NameLoad NameLoad body If CompareIsNot NameLoad NameLoad body Assign NameStore NameLoad orelse Return Call AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index NameLoad NameLoad Return NameLoad decorator_list Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad keyword NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign SubscriptStore NameLoad Index Call NameLoad Call NameLoad NameLoad decorator_list FunctionDef arguments args defaults body Expr Str Global identifier If Call AttributeLoad NameLoad attr Call NameLoad body Delete SubscriptDel NameLoad Index Call NameLoad decorator_list FunctionDef arguments args defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad NameLoad If CompareIsNot NameLoad NameLoad body TryExcept body Return Call NameLoad Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Pass ImportFrom alias Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args defaults body Expr Str ImportFrom alias Return CompareIn Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args defaults body Expr Str Global identifier identifier Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad NameLoad If CompareIsNot NameLoad NameLoad body Return NameLoad If CompareIs NameLoad NameLoad body ImportFrom alias Assign NameStore Call NameLoad AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Global identifier identifier Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad NameLoad If CompareIsNot NameLoad NameLoad body Return Call AttributeLoad NameLoad attr NameLoad If CompareIs NameLoad NameLoad body ImportFrom alias Assign NameStore Call NameLoad AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Global identifier identifier Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad NameLoad If CompareIsNot NameLoad NameLoad body Return Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad If CompareIs NameLoad NameLoad body ImportFrom alias Assign NameStore Call NameLoad AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad FunctionDef arguments args NameParam defaults body Expr Str ImportFrom alias Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr attr Str If CompareIsNot Call AttributeLoad NameLoad attr Str NameLoad ListLoad Call NameLoad NameLoad NameLoad body Return NameLoad orelse Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Global identifier ImportFrom alias Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr attr Str Assign NameStore Call NameLoad AttributeLoad NameLoad attr If Call NameLoad NameLoad Str body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad If BoolOpAnd CompareIn NameLoad NameLoad CompareIsNot NameLoad NameLoad Call NameLoad NameLoad body Return NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str If BoolOpAnd NameLoad CompareIn NameLoad NameLoad Call NameLoad NameLoad body Return NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Str For TupleStore NameStore NameStore Call NameLoad NameLoad body If CompareEq NameLoad Str body Break Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad NameLoad If UnaryOpNot NameLoad body Continue Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Str Index Num If CompareIn NameLoad NameLoad body Return SubscriptLoad NameLoad Index NameLoad For NameStore TupleLoad NameLoad SubscriptLoad Call AttributeLoad NameLoad attr Str Index Num body If CompareNotIn NameLoad NameLoad body Continue Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Str Str If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Assign SubscriptStore NameLoad Index NameLoad NameLoad Return NameLoad Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args defaults body Expr Str ImportFrom alias Assign NameStore Call NameLoad Str Assign NameStore Call NameLoad Str Assign NameStore Call NameLoad Str If CompareEq NameLoad Str body Assign NameStore AttributeLoad NameLoad attr If CompareEq NameLoad Str body Assign NameStore AttributeLoad NameLoad attr If CompareEq NameLoad Str body Assign NameStore AttributeLoad NameLoad attr Return TupleLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args defaults body Expr Str ImportFrom alias Assign NameStore Call NameLoad Str Assign NameStore Call NameLoad Str If CompareEq NameLoad Str body Assign NameStore AttributeLoad NameLoad attr If CompareEq NameLoad Str body Assign NameStore AttributeLoad NameLoad attr Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args defaults body Expr Str Assign SubscriptStore NameLoad Index Str NameLoad decorator_list Assign NameStore Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body Expr Str ImportFrom alias alias alias alias Assign NameStore Call NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore ListLoad Assign NameStore ListLoad For NameStore Call AttributeLoad Call NameLoad NameLoad NameLoad attr body If NameLoad body If CompareEq AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If NameLoad body If NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad Call AttributeLoad Str attr NameLoad Call AttributeLoad Str attr NameLoad For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Str For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Str orelse Expr Call AttributeLoad NameLoad attr BinOpMod Str Call AttributeLoad Str attr NameLoad For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Str Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore ListLoad Assign NameStore ListLoad orelse If NameLoad body Assign NameStore NameLoad orelse Raise NameLoad BinOpMod Str AttributeLoad NameLoad attr orelse If CompareEq AttributeLoad NameLoad attr NameLoad body If NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr orelse Expr Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr orelse If CompareEq AttributeLoad NameLoad attr NameLoad body If NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse If CompareEq AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Num If CompareEq SubscriptLoad NameLoad Index Num Str body Assign NameStore Call AttributeLoad NameLoad attr Str orelse If CompareEq SubscriptLoad NameLoad Index Num Str body Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad orelse If NameLoad body Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore ListLoad Assign NameStore ListLoad orelse If NameLoad body For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad orelse Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Str orelse If CompareEq AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num If NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str Call AttributeLoad NameLoad attr Num For NameStore SubscriptLoad NameLoad Slice Num body If CompareGtE Call AttributeLoad NameLoad attr Str Num body Expr Call AttributeLoad NameLoad attr BinOpMod Str SubscriptLoad Call AttributeLoad NameLoad attr Str Num Index Num orelse Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Str orelse Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Str Return Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args defaults vararg body Expr Str Return Call AttributeLoad Str attr ListComp Call NameLoad NameLoad comprehension NameStore NameLoad decorator_list Assign NameStore Call NameLoad NameLoad NameLoad FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad If SubscriptLoad NameLoad Index Num body Return ListLoad For NameStore Call NameLoad Num BinOpSub Call NameLoad NameLoad Num Num body Assign TupleStore NameStore NameStore NameStore SubscriptLoad NameLoad Slice NameLoad BinOpAdd NameLoad Num If NameLoad body Return ListLoad Assign NameStore BoolOpOr BoolOpAnd NameLoad Call NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam NameParam defaults UnaryOpUSub Call NameLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Return NameLoad decorator_list
N/A N/A Translation helper functions N/A locale N/A os N/A re N/A sys N/A gettext gettext_module cStringIO StringIO django.utils.functional lazy N/A N/A N/A threading N/A hasThreads True N/A N/A N/A ImportError N/A N/A hasThreads False N/A hasThreads N/A N/A currentThread N/A threading currentThread N/A currentThread N/A N/A N/A N/A N/A no threading N/A N/A _translations N/A N/A _active N/A N/A _default None N/A _accepted N/A N/A accept_language_re N/A N/A re compile 
        ([A-Za-z]{1,8}(?:-[A-Za-z]{1,8})*|\*)   # "en", "en-au", "x-y-z", "*"
        (?:;q=(0(?:\.\d{,3})?|1(?:.0{,3})?))?   # Optional "q=1.00", "q=0.8"
        (?:\s*,\s*|$)                            # Multiple accepts per header.
         N/A re VERBOSE to_locale N/A N/A language to_lower N/A False N/A N/A Turns a language name (en-us) into a locale name (en_US). N/A p N/A N/A language find - N/A N/A p 0 N/A N/A to_lower N/A N/A N/A N/A N/A N/A N/A language N/A p lower _ N/A N/A N/A language N/A N/A p 1 lower N/A N/A N/A N/A N/A N/A N/A language N/A p lower _ N/A N/A N/A language N/A N/A p 1 upper N/A N/A N/A N/A language lower N/A to_language N/A N/A locale N/A N/A N/A Turns a locale name (en_US) into a language name (en-us). N/A p N/A N/A locale find _ N/A N/A p 0 N/A N/A N/A N/A N/A N/A N/A locale N/A p lower - N/A N/A N/A locale N/A N/A p 1 lower N/A N/A N/A N/A locale lower N/A DjangoTranslation N/A N/A gettext_module GNUTranslations N/A N/A 
    This class sets up the GNUTranslations context with regard to output
    charset. Django uses a defined DEFAULT_CHARSET as the output charset on
    Python 2.4. With Python 2.3, use DjangoTranslation23.
     __init__ N/A N/A self N/A args kw N/A django.conf settings N/A N/A N/A N/A gettext_module GNUTranslations __init__ self args kw N/A N/A N/A N/A N/A self set_output_charset N/A settings DEFAULT_CHARSET N/A N/A N/A AttributeError N/A N/A N/A N/A self django_output_charset N/A settings DEFAULT_CHARSET N/A N/A self __language ?? N/A merge N/A N/A self other N/A N/A N/A N/A N/A N/A self _catalog update N/A other _catalog N/A set_language N/A N/A self language N/A N/A N/A N/A self __language language N/A language N/A N/A self N/A N/A N/A N/A self __language N/A __repr__ N/A N/A self N/A N/A N/A N/A <DjangoTranslation lang:%s> N/A self __language N/A N/A DjangoTranslation23 N/A DjangoTranslation N/A N/A 
    Compatibility class that is only used with Python 2.3.
    Python 2.3 doesn't support set_output_charset on translation objects and
    needs this wrapper class to make sure input charsets from translation files
    are correctly translated to output charsets.

    With a full switch to Python 2.4, this can be removed from the source.
     gettext N/A N/A self msgid N/A N/A N/A res N/A N/A self ugettext msgid N/A N/A N/A res encode N/A self django_output_charset N/A ngettext N/A N/A self msgid1 msgid2 n N/A N/A N/A res N/A N/A self ungettext msgid1 msgid2 n N/A N/A N/A res encode N/A self django_output_charset N/A N/A translation N/A N/A language N/A N/A N/A 
    Returns a translation object.

    This translation object will be constructed out of multiple GNUTranslations
    objects by merging their catalogs. It will construct a object for the
    requested language and add a fallback to the default language, if it's
    different from the requested language.
     N/A _translations N/A t N/A N/A _translations get language None N/A N/A t None N/A N/A t django.conf settings N/A klass DjangoTranslation N/A N/A N/A sys version_info N/A 2 4 N/A N/A klass DjangoTranslation23 N/A globalpath N/A N/A N/A os path join N/A N/A N/A os path dirname N/A N/A N/A sys modules N/A N/A settings __module__ __file__ locale N/A N/A N/A settings SETTINGS_MODULE None N/A N/A parts N/A N/A N/A settings SETTINGS_MODULE split . N/A project N/A __import__ N/A parts N/A 0 N/A N/A N/A N/A projectpath N/A N/A N/A os path join N/A N/A N/A os path dirname N/A project __file__ locale N/A N/A projectpath None _fetch N/A N/A lang fallback N/A None N/A N/A _translations N/A loc N/A to_locale lang N/A res N/A N/A _translations get lang None N/A N/A res None N/A N/A res _translation N/A N/A path N/A N/A N/A N/A N/A t N/A N/A gettext_module translation django path N/A loc klass N/A N/A N/A t set_language lang N/A t N/A N/A N/A IOError N/A e N/A N/A None N/A N/A res N/A _translation globalpath _merge N/A N/A path N/A N/A N/A t N/A _translation path N/A N/A t None N/A N/A N/A res None N/A N/A t N/A N/A N/A N/A res merge t N/A res N/A N/A N/A hasattr settings LOCALE_PATHS N/A N/A localepath N/A settings LOCALE_PATHS N/A N/A N/A N/A N/A os path isdir localepath N/A N/A res N/A _merge localepath N/A N/A projectpath N/A N/A N/A os path isdir projectpath N/A N/A res N/A _merge projectpath N/A appname N/A settings INSTALLED_APPS N/A N/A p N/A N/A appname rfind . N/A N/A p 0 N/A N/A app N/A getattr N/A __import__ N/A appname N/A p N/A N/A N/A N/A appname N/A N/A p 1 N/A appname N/A N/A p 1 N/A N/A app N/A __import__ appname N/A N/A N/A N/A apppath N/A N/A N/A os path join N/A N/A N/A os path dirname N/A app __file__ locale N/A N/A N/A N/A os path isdir apppath N/A N/A res N/A _merge apppath N/A N/A res None N/A N/A N/A fallback None N/A N/A res fallback N/A N/A N/A N/A gettext_module NullTranslations N/A N/A _translations N/A lang res N/A res N/A N/A default_translation N/A _fetch N/A settings LANGUAGE_CODE N/A current_translation N/A _fetch language fallback default_translation N/A current_translation N/A activate N/A N/A language N/A N/A N/A 
    Fetches the translation object for a given tuple of application name and
    language and installs it as the current translation object for the current
    thread.
     N/A N/A _active N/A N/A currentThread N/A translation language N/A deactivate N/A N/A N/A N/A N/A 
    Deinstalls the currently active translation object so that further _ calls
    will resolve against the default translation object, again.
     N/A _active N/A N/A N/A _active has_key N/A currentThread N/A N/A N/A _active N/A N/A currentThread N/A get_language N/A N/A N/A N/A N/A Returns the currently selected language. N/A t N/A N/A _active get N/A currentThread None N/A N/A t None N/A N/A N/A N/A N/A to_language N/A N/A t language N/A N/A N/A AttributeError N/A N/A django.conf settings N/A N/A settings LANGUAGE_CODE N/A get_language_bidi N/A N/A N/A N/A N/A 
    Returns selected language's BiDi layout.
    False = left-to-right layout
    True = right-to-left layout
     django.conf settings N/A N/A N/A get_language N/A settings LANGUAGES_BIDI N/A catalog N/A N/A N/A N/A N/A 
    This function returns the current active catalog for further processing.
    This can be used if you need to modify the catalog or want to access the
    whole message catalog instead of just translating one string.
     N/A _default _active N/A t N/A N/A _active get N/A currentThread None N/A N/A t None N/A N/A t N/A N/A _default None N/A django.conf settings N/A _default N/A translation N/A settings LANGUAGE_CODE N/A _default N/A gettext N/A N/A message N/A N/A N/A 
    This function will be patched into the builtins module to provide the _
    helper function. It will use the current thread as a discriminator to find
    the translation object to use. If no current translation is activated, the
    message will be run through the default translation object.
     N/A _default _active N/A t N/A N/A _active get N/A currentThread None N/A N/A t None N/A N/A N/A N/A t gettext message N/A N/A _default None N/A django.conf settings N/A _default N/A translation N/A settings LANGUAGE_CODE N/A N/A N/A _default gettext message N/A gettext_noop N/A N/A message N/A N/A N/A 
    Marks strings for translation but doesn't translate them now. This can be
    used to store strings in global variables that should stay in the base
    language (because they might be used externally) and will be translated later.
     N/A message N/A ngettext N/A N/A singular plural number N/A N/A N/A 
    Returns the translation of either the singular or plural, based on the number.
     N/A _default _active N/A t N/A N/A _active get N/A currentThread None N/A N/A t None N/A N/A N/A N/A t ngettext singular plural number N/A N/A _default None N/A django.conf settings N/A _default N/A translation N/A settings LANGUAGE_CODE N/A N/A N/A _default ngettext singular plural number N/A N/A gettext_lazy N/A lazy gettext str N/A ngettext_lazy N/A lazy ngettext str check_for_language N/A N/A lang_code N/A N/A N/A 
    Checks whether there is a global language file for the given language code.
    This is used to decide whether a user-provided language is available. This is
    only used for language codes from either the cookies or session.
     django.conf settings N/A globalpath N/A N/A N/A os path join N/A N/A N/A os path dirname N/A N/A N/A sys modules N/A N/A settings __module__ __file__ locale N/A N/A N/A N/A gettext_module find django globalpath N/A N/A to_locale lang_code None N/A N/A True N/A N/A False N/A get_language_from_request N/A N/A request N/A N/A N/A 
    Analyzes the request to find what language the user wants the system to show.
    Only languages listed in settings.LANGUAGES are taken into account. If the user
    requests a sublanguage where we have a main language, we send out the main language.
     N/A _accepted django.conf settings N/A globalpath N/A N/A N/A os path join N/A N/A N/A os path dirname N/A N/A N/A sys modules N/A N/A settings __module__ __file__ locale N/A supported N/A dict N/A settings LANGUAGES N/A N/A hasattr request session N/A N/A lang_code N/A N/A N/A request session get django_language None N/A N/A N/A lang_code supported N/A lang_code None N/A check_for_language lang_code N/A N/A lang_code N/A lang_code N/A N/A N/A request COOKIES get django_language N/A N/A lang_code N/A lang_code supported N/A check_for_language lang_code N/A N/A lang_code N/A accept N/A N/A N/A request META get HTTP_ACCEPT_LANGUAGE N/A N/A lang unused N/A parse_accept_lang_header accept N/A N/A N/A lang * N/A N/A N/A normalized N/A N/A N/A locale locale_alias get N/A to_locale lang True N/A N/A normalized N/A N/A N/A normalized N/A N/A N/A normalized split . N/A 0 N/A N/A normalized _accepted N/A N/A N/A _accepted N/A normalized N/A lang N/A normalized N/A N/A N/A normalized split _ N/A 0 N/A N/A N/A lang supported N/A N/A N/A langfile N/A N/A N/A os path join globalpath lang LC_MESSAGES django.mo N/A N/A N/A N/A os path exists langfile N/A N/A N/A _accepted N/A normalized lang N/A lang N/A N/A settings LANGUAGE_CODE N/A get_date_formats N/A N/A N/A N/A N/A 
    This function checks whether translation files provide a translation for some
    technical message ID to store date and time formats. If it doesn't contain
    one, the formats provided in the settings will be used.
     django.conf settings N/A date_format N/A _ DATE_FORMAT N/A datetime_format N/A _ DATETIME_FORMAT N/A time_format N/A _ TIME_FORMAT N/A N/A date_format DATE_FORMAT N/A N/A date_format N/A settings DATE_FORMAT N/A N/A datetime_format DATETIME_FORMAT N/A N/A datetime_format N/A settings DATETIME_FORMAT N/A N/A time_format TIME_FORMAT N/A N/A time_format N/A settings TIME_FORMAT N/A N/A date_format datetime_format time_format N/A get_partial_date_formats N/A N/A N/A N/A N/A 
    This function checks whether translation files provide a translation for some
    technical message ID to store partial date formats. If it doesn't contain
    one, the formats provided in the settings will be used.
     django.conf settings N/A year_month_format N/A _ YEAR_MONTH_FORMAT N/A month_day_format N/A _ MONTH_DAY_FORMAT N/A N/A year_month_format YEAR_MONTH_FORMAT N/A N/A year_month_format N/A settings YEAR_MONTH_FORMAT N/A N/A month_day_format MONTH_DAY_FORMAT N/A N/A month_day_format N/A settings MONTH_DAY_FORMAT N/A N/A year_month_format month_day_format N/A install N/A N/A N/A N/A N/A 
    Installs the gettext function as the default translation function under
    the name '_'.
     N/A N/A __builtins__ N/A _ gettext N/A N/A dot_re N/A N/A re compile \S blankout N/A N/A src char N/A N/A N/A 
    Changes every non-whitespace character to the given char.
    Used in the templatize function.
     N/A N/A N/A dot_re sub char src N/A N/A inline_re N/A N/A re compile ^\s*trans\s+((?:".*?")|(?:'.*?'))\s* N/A block_re N/A N/A re compile ^\s*blocktrans(?:\s+|$) N/A endblock_re N/A N/A re compile ^\s*endblocktrans$ N/A plural_re N/A N/A re compile ^\s*plural$ N/A constant_re N/A N/A re compile _\(((?:".*?")|(?:'.*?'))\) templatize N/A N/A src N/A N/A N/A 
    Turns a Django template into something that is understood by xgettext. It
    does so by translating the Django translation tags into standard gettext
    function invocations.
     django.template Lexer TOKEN_TEXT TOKEN_VAR TOKEN_BLOCK N/A out N/A StringIO N/A intrans False N/A inplural False N/A singular N/A N/A plural N/A N/A t N/A N/A N/A Lexer src None tokenize N/A N/A intrans N/A N/A N/A N/A t token_type TOKEN_BLOCK N/A N/A endbmatch N/A N/A endblock_re match N/A t contents N/A pluralmatch N/A N/A plural_re match N/A t contents N/A endbmatch N/A N/A inplural N/A N/A N/A N/A out write N/A  ngettext(%r,%r,count)  N/A N/A N/A join singular N/A N/A join plural N/A part singular N/A N/A N/A N/A out write N/A blankout part S N/A part plural N/A N/A N/A N/A out write N/A blankout part P N/A N/A N/A N/A out write N/A  gettext(%r)  N/A N/A join singular N/A part singular N/A N/A N/A N/A out write N/A blankout part S N/A intrans False N/A inplural False N/A singular N/A N/A plural N/A N/A N/A pluralmatch N/A N/A inplural True N/A N/A SyntaxError N/A Translation blocks must not include other block tags: %s N/A t contents N/A N/A N/A N/A t token_type TOKEN_VAR N/A N/A inplural N/A N/A N/A N/A plural append N/A %%(%s)s N/A t contents N/A N/A N/A N/A singular append N/A %%(%s)s N/A t contents N/A N/A N/A N/A t token_type TOKEN_TEXT N/A N/A inplural N/A N/A N/A N/A plural append N/A t contents N/A N/A N/A N/A singular append N/A t contents N/A N/A N/A N/A t token_type TOKEN_BLOCK N/A N/A imatch N/A N/A inline_re match N/A t contents N/A bmatch N/A N/A block_re match N/A t contents N/A cmatches N/A N/A constant_re findall N/A t contents N/A imatch N/A N/A g N/A N/A imatch group 1 N/A N/A N/A g N/A 0 " N/A N/A g N/A N/A g strip " N/A N/A N/A N/A g N/A 0 ' N/A N/A g N/A N/A g strip ' N/A N/A N/A out write N/A  gettext(%r)  g N/A N/A bmatch N/A N/A intrans True N/A inplural False N/A singular N/A N/A plural N/A N/A N/A cmatches N/A N/A cmatch cmatches N/A N/A N/A N/A out write N/A  _(%s)  cmatch N/A N/A N/A N/A out write N/A blankout N/A t contents B N/A N/A N/A N/A t token_type TOKEN_VAR N/A N/A parts N/A N/A N/A t contents split | N/A cmatch N/A N/A constant_re match N/A parts N/A 0 N/A cmatch N/A N/A N/A N/A out write N/A  _(%s)  N/A N/A cmatch group 1 N/A p N/A parts N/A 1 N/A N/A N/A N/A N/A p find :_( 0 N/A N/A N/A N/A out write N/A  %s  N/A N/A N/A p split : 1 N/A 1 N/A N/A N/A N/A out write N/A blankout p F N/A N/A N/A N/A out write N/A blankout N/A t contents X N/A N/A N/A out getvalue N/A string_concat N/A N/A N/A strings N/A N/A "
    lazy variant of string concatenation, needed for translations that are
    constructed from multiple parts. Handles lazy strings and non-strings by
    first turning all arguments to strings, before joining them.
     N/A N/A N/A join N/A N/A str el N/A el strings N/A N/A string_concat N/A lazy string_concat str parse_accept_lang_header N/A N/A lang_string N/A N/A N/A 
    Parses the lang_string, which is the body of an HTTP Accept-Language
    header, and returns a list of (lang, q-value), ordered by 'q' values.

    Any format errors in lang_string results in an empty list being returned.
     N/A result N/A N/A pieces N/A N/A accept_language_re split lang_string N/A N/A pieces N/A -1 N/A N/A N/A N/A i N/A range 0 N/A N/A len pieces 1 3 N/A N/A N/A first lang priority N/A pieces N/A i N/A i 3 N/A first N/A N/A N/A N/A priority N/A N/A priority N/A float priority 1.0 N/A N/A N/A result append N/A lang priority N/A N/A N/A result sort N/A N/A N/A x y N/A N/A N/A cmp N/A x N/A 1 N/A y N/A 1 N/A result N/A