Module Import alias ImportFrom alias ImportFrom alias ImportFrom alias identifier ImportFrom alias Assign NameStore Call AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args defaults body Expr Str Return Call NameLoad NameLoad Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad body Expr Str If NameLoad body Assign NameStore Call NameLoad keyword NameLoad orelse Assign NameStore Call NameLoad If BoolOpAnd UnaryOpNot NameLoad NameLoad body Assign NameStore Call NameLoad If NameLoad body Assign NameStore BoolOpOr NameLoad Str Assign NameStore Call NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad If NameLoad body Return Call AttributeLoad NameLoad attr NameLoad orelse Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return ListComp SubscriptLoad AttributeLoad NameLoad attr Index NameLoad comprehension NameStore AttributeLoad NameLoad attr CompareEq SubscriptLoad Call AttributeLoad NameLoad attr Str Num Index Num SubscriptLoad Call AttributeLoad Call AttributeLoad NameLoad attr attr Str Num Index Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad GeneratorExp TupleLoad Call AttributeLoad NameLoad attr NameLoad comprehension TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr If CompareIn NameLoad NameLoad body If CompareIs SubscriptLoad NameLoad Index NameLoad NameLoad body Return AttributeLoad NameLoad attr Return SubscriptLoad NameLoad Index NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr GeneratorExp TupleLoad Call AttributeLoad NameLoad attr IfExp NameLoad NameLoad NameLoad comprehension TupleStore NameStore NameStore Call AttributeLoad NameLoad attr CompareNotIn Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr GeneratorExp TupleLoad SubscriptLoad Call AttributeLoad NameLoad attr Str Index Num NameLoad comprehension TupleStore NameStore NameStore Call AttributeLoad NameLoad attr CompareNotIn SubscriptLoad Call AttributeLoad NameLoad attr Str Index Num NameLoad Assign NameStore Call NameLoad NameLoad For TupleStore NameStore NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr If CompareIn NameLoad NameLoad body Return SubscriptLoad NameLoad Index NameLoad Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Str Index Num If CompareIn NameLoad NameLoad body Return SubscriptLoad NameLoad Index NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr If CompareIn NameLoad AttributeLoad NameLoad attr body Return TupleLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad NameLoad orelse If CompareIsNot Call NameLoad NameLoad NameLoad body Return TupleLoad Call NameLoad NameLoad NameLoad orelse Assign NameStore Call NameLoad NameLoad If NameLoad body Return TupleLoad SubscriptLoad NameLoad Index Num NameLoad orelse Return TupleLoad Str NameLoad decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Str ImportFrom alias Assign AttributeStore NameLoad attr BoolOpOr NameLoad Call NameLoad Dict Str Str Str NameLoad Assign TupleStore AttributeStore NameLoad attr AttributeStore NameLoad attr Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr If BoolOpAnd UnaryOpNot AttributeLoad NameLoad attr NameLoad body If Call AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr If NameLoad body Assign AttributeStore NameLoad attr NameLoad orelse TryExcept body Assign AttributeStore NameLoad attr AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr attr handlers ExceptHandler type AttributeLoad NameLoad attr body Pass If NameLoad body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If CompareIn Str AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore Call AttributeLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Str attr If CompareIn NameLoad AttributeLoad NameLoad attr body Return SubscriptLoad AttributeLoad NameLoad attr Index NameLoad If Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str body Assign NameStore Call NameLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Str If NameLoad body Return NameLoad Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore ListLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Str Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Str Index Num If BoolOpAnd CompareNotIn NameLoad AttributeLoad NameLoad attr CompareNotIn NameLoad AttributeLoad NameLoad attr body Assign NameStore IfExp AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad Str attr NameLoad decorator_list decorator_list
N/A N/A threading django.conf settings django.core.handlers.wsgi WSGIRequest django.core.urlresolvers reverse django_reverse django.utils.translation.trans_real parse_accept_lang_header N/A _locals N/A N/A threading local set_url_prefixer N/A N/A prefixer N/A N/A N/A Set the Prefixer for the current thread. N/A N/A _locals prefixer prefixer N/A get_url_prefixer N/A N/A N/A N/A N/A Get the Prefixer for the current thread, or None. N/A N/A getattr _locals prefixer None N/A reverse N/A N/A viewname urlconf args kwargs prefix force_locale locale N/A None None None None False None N/A N/A Wraps Django's reverse to prepend the correct locale.

    force_locale -- Ordinarily, if get_url_prefixer() returns None, we return
        an unlocalized URL, which will be localized via redirect when visited.
        Set force_locale to True to force the insertion of a default locale
        when there is no set prefixer. If you are writing a test and simply
        wish to avoid LocaleURLMiddleware's initial 301 when passing in an
        unprefixed URL, it is probably easier to substitute LocalizingClient
        for any uses of django.test.client.Client and forgo this kwarg.

    locale -- By default, reverse prepends the current locale (if set) or
        the default locale if force_locale == True. To override this behavior
        and have it prepend a different locale, pass in the locale parameter
        with the desired locale. When passing a locale, the force_locale is
        not used and is implicitly True.

     N/A locale N/A N/A prefixer N/A Prefixer locale locale N/A N/A prefixer N/A get_url_prefixer N/A N/A N/A prefixer force_locale N/A N/A prefixer N/A Prefixer N/A prefixer N/A N/A prefix N/A prefix / N/A url N/A django_reverse viewname urlconf args kwargs prefix N/A prefixer N/A N/A N/A N/A prefixer fix url N/A N/A url N/A find_supported N/A N/A test N/A N/A N/A N/A N/A N/A settings LANGUAGE_URL_MAP N/A x N/A x N/A settings LANGUAGE_URL_MAP N/A N/A N/A N/A x split - 1 N/A 0 N/A N/A N/A N/A N/A test lower split - 1 N/A 0 N/A get_non_supported N/A N/A lang N/A N/A N/A Find known non-supported locales with fallbacks. N/A lang N/A N/A lang lower N/A langs N/A dict N/A N/A N/A N/A k lower v N/A N/A k v N/A N/A N/A settings NON_SUPPORTED_LOCALES items N/A N/A lang langs N/A N/A N/A N/A langs N/A lang None N/A N/A N/A settings LANGUAGE_CODE N/A N/A langs N/A lang N/A None N/A get_best_language N/A N/A accept_lang N/A N/A N/A Given an Accept-Language header, return the best-matching language. N/A LUM N/A settings LANGUAGE_URL_MAP N/A NSL N/A settings NON_SUPPORTED_LOCALES N/A LC N/A settings LANGUAGE_CODE N/A langs N/A dict LUM N/A N/A N/A langs update N/A N/A N/A N/A k lower N/A v v LC N/A N/A k v N/A N/A NSL items N/A N/A N/A k lower langs N/A N/A N/A langs update N/A N/A N/A N/A N/A k split - N/A 0 v N/A N/A k v N/A N/A LUM items N/A N/A N/A N/A k split - N/A 0 langs N/A ranked N/A parse_accept_lang_header accept_lang N/A N/A lang _ ranked N/A N/A lang N/A N/A lang lower N/A N/A lang langs N/A N/A N/A langs N/A lang N/A pre N/A N/A N/A lang split - N/A 0 N/A N/A pre langs N/A N/A N/A langs N/A pre N/A False N/A split_path N/A N/A path N/A N/A N/A 
    Split the requested path into (locale, path).

    locale will be empty if it isn't found.
     N/A path N/A N/A path lstrip / N/A N/A first _ rest N/A N/A path partition / N/A lang N/A N/A first lower N/A N/A lang N/A settings LANGUAGE_URL_MAP N/A N/A N/A N/A N/A settings LANGUAGE_URL_MAP N/A lang rest N/A N/A N/A N/A get_non_supported lang None N/A N/A N/A N/A get_non_supported lang rest N/A N/A supported N/A find_supported first N/A supported N/A N/A N/A N/A supported N/A 0 rest N/A N/A N/A path N/A Prefixer N/A object N/A __init__ N/A N/A self request locale N/A None None N/A N/A If request is omitted, fall back to a default locale. kitsune.users.models Profile N/A N/A self request N/A request N/A WSGIRequest N/A REQUEST_METHOD wsgi.input bogus None N/A N/A N/A self locale N/A self shortened_path N/A split_path N/A N/A self request path_info N/A N/A N/A N/A self locale request N/A N/A N/A N/A N/A request user is_anonymous N/A N/A language N/A N/A N/A request session get N/A settings LANGUAGE_COOKIE_NAME N/A language N/A N/A N/A self locale language N/A N/A N/A N/A N/A self locale N/A N/A N/A N/A Profile objects get user N/A request user locale N/A N/A N/A N/A Profile DoesNotExist N/A N/A N/A locale N/A N/A N/A self locale locale N/A get_language N/A N/A self N/A N/A N/A 
        Return a locale code we support on the site using the
        user's Accept-Language header to determine which is best. This
        mostly follows the RFCs but read bug 439568 for details.
         N/A N/A lang N/A N/A self request GET N/A N/A lang N/A N/A N/A N/A N/A self request GET N/A lang lower N/A N/A lang N/A settings LANGUAGE_URL_MAP N/A N/A N/A N/A settings LANGUAGE_URL_MAP N/A lang N/A N/A N/A N/A N/A self request META get HTTP_ACCEPT_LANGUAGE N/A N/A best N/A get_best_language N/A N/A N/A self request META N/A HTTP_ACCEPT_LANGUAGE N/A best N/A N/A best N/A N/A settings LANGUAGE_CODE N/A fix N/A N/A self path N/A N/A N/A path N/A N/A path lstrip / N/A url_parts N/A N/A N/A N/A self request META N/A SCRIPT_NAME N/A first_part N/A N/A N/A path partition / N/A 0 N/A N/A N/A first_part N/A settings SUPPORTED_NONLOCALES N/A first_part N/A settings LANGUAGE_URL_MAP N/A N/A locale N/A N/A self locale N/A self locale N/A N/A self get_language N/A N/A N/A url_parts append locale N/A N/A N/A url_parts append path N/A N/A N/A / join url_parts N/A N/A