Module ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias Assign NameStore Dict FunctionDef arguments args NameParam NameParam defaults NameLoad body Assign NameStore IfExp Call NameLoad NameLoad Str AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr If CompareIs NameLoad NameLoad body Assign NameStore AttributeLoad NameLoad attr Return BinOpMod Str TupleLoad NameLoad NameLoad decorator_list Assign NameStore Call NameLoad Str Str FunctionDef arguments args NameParam defaults body Return Call NameLoad Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body If CompareEq Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Call NameLoad Call NameLoad ListComp Call NameLoad NameLoad comprehension NameStore NameLoad ListComp NameLoad comprehension NameStore NameLoad For NameStore NameLoad body Assign SubscriptStore NameLoad Index Call NameLoad NameLoad NameLoad orelse Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Assign SubscriptStore NameLoad Index Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body If CompareEq Call NameLoad NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad If Call NameLoad NameLoad Str body Assign NameStore ListLoad For NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad If CompareEq Call NameLoad NameLoad Call NameLoad NameLoad body Return NameLoad Assign NameStore Call AttributeLoad NameLoad attr ListComp Call NameLoad NameLoad NameLoad comprehension NameStore NameLoad If CompareEq Call NameLoad NameLoad Call NameLoad NameLoad body Assign NameStore Call NameLoad Lambda arguments args NameParam defaults SubscriptLoad NameLoad Index NameLoad ListComp Call NameLoad NameLoad NameLoad comprehension NameStore NameLoad For NameStore NameLoad body Assign SubscriptStore NameLoad Index Call NameLoad NameLoad NameLoad Return NameLoad Assign NameStore Call AttributeLoad Call NameLoad NameLoad attr ListComp AttributeLoad SubscriptLoad NameLoad Index NameLoad attr comprehension NameStore NameLoad Assign NameStore Dict Assign NameStore AttributeLoad NameLoad attr If CompareIsNot NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr keyword NameLoad For NameStore NameLoad body For NameStore NameLoad body If CompareEq AttributeLoad NameLoad attr NameLoad body Assign SubscriptStore NameLoad Index Call NameLoad NameLoad NameLoad NameLoad Break For NameStore NameLoad body Expr Call NameLoad SubscriptLoad NameLoad Index NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad Call NameLoad NameLoad ListComp SubscriptLoad NameLoad Index NameLoad comprehension NameStore NameLoad Assign NameStore ListLoad For NameStore NameLoad body If Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Call NameLoad NameLoad NameLoad Return NameLoad orelse Assign NameStore NameLoad TryExcept body Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad If CompareIs NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad handlers ExceptHandler body Pass If CompareIs NameLoad NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Expr Call NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body If CompareEq Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr ListComp Call NameLoad NameLoad comprehension NameStore NameLoad For NameStore NameLoad body If CompareIn Call NameLoad NameLoad NameLoad body Delete SubscriptDel NameLoad Index Call NameLoad NameLoad orelse Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad If CompareIn NameLoad NameLoad body Delete SubscriptDel NameLoad Index Call NameLoad NameLoad If NameLoad body Expr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad If NameLoad body Return Call NameLoad NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad If NameLoad body Expr Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore IfExp Call NameLoad NameLoad Str AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore IfExp Call NameLoad NameLoad Str AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Return BinOpMod Str TupleLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore NameLoad If Call NameLoad NameLoad NameLoad body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Str TryExcept body Assign NameStore Call NameLoad NameLoad NameLoad handlers ExceptHandler type NameLoad body ImportFrom alias identifier Expr Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad NameLoad orelse Assign NameStore NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str FunctionDef arguments args NameParam defaults body FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad NameLoad If BoolOpOr UnaryOpNot Call NameLoad NameLoad NameLoad CompareIs Call NameLoad NameLoad NameLoad NameLoad NameLoad body Assign NameStore BoolOpOr Call NameLoad NameLoad ListLoad Expr Call NameLoad NameLoad NameLoad Dict Str Str NameLoad ListComp AttributeLoad NameLoad attr comprehension NameStore NameLoad Expr Call NameLoad NameLoad Return NameLoad Return Call NameLoad Call NameLoad NameLoad SubscriptLoad Call NameLoad NameLoad NameLoad Index Str decorator_list Return NameLoad decorator_list Return NameLoad decorator_list
N/A collections namedtuple django.core.cache cache django.db.models.query ValuesListQuerySet django.db.models.loading get_model itertools groupby N/A _process_cache N/A _cache_key N/A N/A obj id N/A None N/A N/A class_name N/A N/A hasattr obj __name__ N/A obj __name__ N/A N/A obj __class__ __name__ N/A N/A id None N/A N/A id N/A obj id N/A N/A %s_%s N/A class_name id N/A N/A TypedId N/A namedtuple TypedId cls,id _split_cache_key N/A N/A key N/A N/A N/A N/A TypedId N/A N/A key split _ N/A put N/A N/A obj N/A N/A N/A N/A N/A type obj list N/A N/A N/A N/A cache set_many N/A dict N/A zip N/A N/A _cache_key o N/A o obj N/A o N/A o obj N/A o obj N/A N/A N/A _process_cache N/A N/A _cache_key o obj N/A N/A N/A N/A cache set N/A _cache_key obj obj N/A N/A _process_cache N/A N/A _cache_key obj obj N/A get N/A N/A cls id using_db N/A None N/A N/A N/A N/A type id ValuesListQuerySet N/A N/A id N/A list id N/A N/A hasattr id __iter__ N/A N/A _pcresult N/A N/A i id N/A N/A pcr N/A N/A _process_cache get N/A _cache_key cls i N/A N/A pcr None N/A N/A N/A N/A _pcresult append pcr N/A N/A N/A len _pcresult N/A len id N/A N/A _pcresult N/A _mcresult N/A N/A cache get_many N/A N/A _cache_key cls i N/A i id N/A N/A N/A len _mcresult N/A len id N/A N/A mc_result N/A map N/A N/A N/A t N/A N/A _mcresult N/A t N/A N/A _cache_key cls l N/A l id N/A mc mc_result N/A N/A N/A _process_cache N/A N/A _cache_key mc mc N/A mc_result N/A _id_diffs N/A N/A N/A set id difference N/A N/A N/A _mcresult N/A l id N/A l _mcresult N/A _fetch N/A N/A manager N/A cls objects N/A N/A using_db None N/A N/A manager N/A N/A manager using using_db N/A _db_results N/A list N/A N/A manager filter id__in _id_diffs N/A l _id_diffs N/A N/A fi _db_results N/A N/A N/A N/A fi id l N/A N/A N/A _fetch N/A N/A _cache_key cls l fi N/A N/A _i _fetch N/A N/A N/A put N/A _fetch N/A _i N/A N/A N/A _fetch update N/A dict N/A zip _mcresult N/A N/A _mcresult N/A l N/A l _mcresult N/A results N/A N/A l id N/A N/A N/A N/A _fetch has_key N/A _cache_key cls l N/A N/A N/A N/A results append N/A _fetch N/A N/A _cache_key cls l N/A results N/A N/A _obj None N/A N/A N/A _obj N/A N/A _process_cache get N/A _cache_key cls id N/A N/A _obj None N/A N/A _obj N/A N/A cache get N/A _cache_key cls id N/A N/A N/A N/A N/A N/A _obj None N/A N/A _obj N/A N/A N/A cls objects get id id N/A N/A put _obj N/A _obj N/A bust N/A N/A obj update N/A False N/A N/A N/A N/A type obj list N/A N/A N/A N/A cache delete_many N/A N/A _cache_key o N/A o obj N/A o obj N/A N/A N/A N/A _cache_key o _process_cache N/A N/A N/A _process_cache N/A N/A _cache_key o N/A N/A _k N/A _cache_key obj N/A N/A N/A cache delete _k N/A N/A _k _process_cache N/A N/A N/A _process_cache N/A N/A _cache_key obj N/A update N/A N/A N/A put obj N/A get_on_handle N/A N/A cls handle N/A N/A N/A id N/A N/A cache get N/A _cache_key cls handle N/A id N/A N/A N/A get cls id N/A None N/A put_on_handle N/A N/A obj handle N/A N/A N/A N/A put obj N/A N/A N/A cache set N/A _cache_key obj handle N/A obj id N/A bust_on_handle N/A N/A obj handle update N/A False N/A N/A N/A bust obj False N/A N/A N/A cache delete N/A _cache_key obj handle N/A update N/A N/A N/A put_on_handle obj handle N/A _relation_cache_key N/A N/A owner_obj relation_obj id N/A N/A N/A owner_class_name N/A N/A hasattr owner_obj __name__ N/A owner_obj __name__ N/A N/A owner_obj __class__ __name__ N/A relation_class_name N/A N/A hasattr relation_obj __name__ N/A relation_obj __name__ N/A N/A relation_obj __class__ __name__ N/A N/A %s_%s_%s N/A owner_class_name relation_class_name id N/A relation_put N/A N/A owner_obj relation_obj id data N/A N/A N/A N/A N/A cache set N/A _relation_cache_key owner_obj relation_obj id data N/A relation_get N/A N/A owner_cls relation_cls id N/A N/A N/A N/A N/A cache get N/A _relation_cache_key owner_cls relation_cls id N/A relation_bust N/A N/A owner_obj relation_obj id N/A N/A N/A N/A N/A cache delete N/A _relation_cache_key owner_obj relation_obj id N/A get_class_by_model_or_name N/A N/A cls N/A N/A N/A collection_class None N/A N/A isinstance cls basestring N/A N/A N/A app_label model_name N/A N/A cls split . N/A N/A N/A collection_class N/A get_model app_label model_name N/A N/A N/A ImportError N/A django.db.models.loading cache app_cache N/A N/A N/A app_cache _populate N/A collection_class N/A get_model app_label model_name N/A N/A collection_class cls N/A collection_class N/A collection_cache N/A N/A cls local_var N/A N/A N/A 
    For use with properties or methods which take only the self argument.

    @param cls: a collection class (or Django-style model name such as "users.User" as the first argument.
    @param local_var: some variable name, conventionally a pseudo-private beginning with and underscore (e.g. "_list_ids")
                      This will store a dictionary on the object like {'cls': MyCollectionClass, 'ids': [1,2,3,4,5]}.
                      When the whole item is cached, it will only store the collection class and the ids
     _func N/A N/A f N/A N/A _with_args N/A N/A self N/A N/A N/A collection_class N/A get_class_by_model_or_name cls N/A N/A N/A N/A hasattr self local_var N/A N/A getattr self local_var None None N/A N/A ret N/A N/A f self N/A N/A N/A setattr self local_var N/A cls ids collection_class N/A N/A item id N/A item ret N/A N/A put self N/A ret N/A N/A list N/A get collection_class N/A N/A getattr self local_var N/A ids N/A N/A _with_args N/A N/A _func N/A