Module Expr Str ImportFrom alias alias ImportFrom alias ImportFrom alias alias alias ImportFrom alias identifier ImportFrom alias ImportFrom alias ImportFrom alias Assign NameStore Num Assign NameStore Dict ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Expr Str If CompareNotIn Str AttributeLoad NameLoad attr body If BoolOpAnd AttributeLoad AttributeLoad NameLoad attr attr CompareEq Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str Num NameLoad body TryExcept body Assign SubscriptStore AttributeLoad NameLoad attr Index Str Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr handlers ExceptHandler type NameLoad body Pass If CompareNotIn Str AttributeLoad NameLoad attr body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str If Call NameLoad AttributeLoad NameLoad attr Str body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr keyword AttributeLoad AttributeLoad NameLoad attr attr attr keyword AttributeLoad AttributeLoad NameLoad attr attr If Call NameLoad AttributeLoad NameLoad attr Str body Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad attr keyword NameLoad Return SubscriptLoad AttributeLoad NameLoad attr Index Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr If CompareNotIn NameLoad NameLoad body Assign NameStore Dict For TupleStore NameStore NameStore Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign SubscriptStore NameLoad Index UnaryOpUSub AttributeLoad NameLoad attr NameLoad Assign SubscriptStore NameLoad Index NameLoad AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index NameLoad NameLoad Return SubscriptLoad NameLoad Index NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Return Call NameLoad GeneratorExp TupleLoad NameLoad ListComp TupleLoad NameLoad SubscriptLoad NameLoad Index UnaryOpUSub NameLoad comprehension TupleStore NameStore NameStore NameLoad comprehension TupleStore NameStore NameStore Call AttributeLoad NameLoad attr CompareNotEq NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad GeneratorExp TupleLoad NameLoad ListComp TupleLoad NameLoad SubscriptLoad NameLoad Index NameLoad comprehension TupleStore NameStore NameStore NameLoad comprehension TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str NameLoad Return NameLoad decorator_list decorator_list FunctionDef arguments args NameParam defaults kwarg body Expr Call AttributeLoad NameLoad attr decorator_list Expr Call AttributeLoad NameLoad attr NameLoad FunctionDef arguments args NameParam NameParam defaults kwarg body Expr Str Expr Call AttributeLoad Call AttributeLoad NameLoad attr keyword NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults kwarg body Expr Str Assign AttributeStore NameLoad attr NameLoad decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Call NameLoad Call NameLoad Str keyword NameLoad keyword NameLoad keyword NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad keyword AttributeLoad NameLoad attr If Call NameLoad AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr NameLoad keyword AttributeLoad NameLoad attr decorator_list decorator_list
N/A N/A 
Track the content types for pages. Instead of gathering the content
types present in each page at run time, save the current state at
saving time, thus saving at least one DB query on page delivery.
 __future__ absolute_import unicode_literals django.contrib.contenttypes.models ContentType django.db.models.signals class_prepared post_save pre_save django.utils.translation ugettext_lazy _ feincms extensions feincms.contrib.fields JSONField feincms.models ContentProxy N/A INVENTORY_VERSION 1 N/A _translation_map_cache N/A TrackerContentProxy N/A ContentProxy N/A _fetch_content_type_counts N/A N/A self N/A N/A N/A 
        If an object with an empty _ct_inventory is encountered, compute all
        the content types currently used on that object and save the list in
        the object itself. Further requests for that object can then access
        that information and find out which content types are used without
        resorting to multiple selects on different ct tables.

        It is therefore important that even an "empty" object does not have an
        empty _ct_inventory.
         N/A N/A counts N/A self _cache N/A N/A N/A N/A N/A self item _ct_inventory N/A N/A N/A N/A N/A self item _ct_inventory get _version_ -1 INVENTORY_VERSION N/A N/A N/A N/A N/A N/A self _cache N/A counts N/A N/A self _from_inventory N/A N/A self item _ct_inventory N/A N/A N/A KeyError N/A N/A N/A N/A counts N/A self _cache N/A N/A N/A N/A N/A super TrackerContentProxy self _fetch_content_type_counts N/A N/A N/A self item _ct_inventory N/A N/A self _to_inventory N/A N/A self _cache N/A counts N/A N/A hasattr N/A self item invalidate_cache N/A N/A N/A N/A N/A self item invalidate_cache N/A N/A N/A N/A N/A N/A N/A N/A self item __class__ objects filter id N/A N/A self item id update _ct_inventory N/A N/A self item _ct_inventory N/A N/A hasattr N/A self item get_descendants N/A N/A N/A N/A N/A N/A N/A self item get_descendants include_self False update _ct_inventory None N/A N/A N/A self _cache N/A counts N/A _translation_map N/A N/A self N/A N/A N/A cls N/A N/A self item __class__ N/A N/A cls _translation_map_cache N/A N/A map N/A N/A N/A idx fct N/A enumerate N/A N/A self item _feincms_content_types N/A N/A dct N/A N/A N/A ContentType objects get_for_model fct N/A N/A map N/A N/A N/A dct id idx N/A N/A map N/A idx N/A dct id N/A N/A _translation_map_cache N/A cls map N/A N/A _translation_map_cache N/A cls N/A _from_inventory N/A N/A self inventory N/A N/A N/A 
        Transforms the inventory from Django's content types to FeinCMS's
        ContentProxy counts format.
         N/A map N/A N/A self _translation_map N/A N/A dict N/A N/A region N/A N/A pk N/A map N/A N/A ct N/A N/A pk ct items N/A N/A region items N/A N/A inventory items N/A region _version_ N/A _to_inventory N/A N/A self counts N/A N/A N/A map N/A N/A self _translation_map N/A inventory N/A dict N/A N/A region N/A N/A pk N/A map N/A ct N/A N/A pk ct items N/A N/A region items N/A N/A counts items N/A N/A inventory N/A _version_ INVENTORY_VERSION N/A inventory N/A N/A class_prepared_handler N/A N/A sender N/A kwargs N/A N/A N/A N/A _translation_map_cache clear N/A N/A N/A N/A class_prepared connect class_prepared_handler tree_post_save_handler N/A N/A sender instance N/A kwargs N/A N/A 
    Clobber the _ct_inventory attribute of this object and all sub-objects
    on save.
     N/A N/A N/A N/A N/A instance get_descendants include_self True update _ct_inventory None N/A single_pre_save_handler N/A N/A sender instance N/A kwargs N/A N/A Clobber the _ct_inventory attribute of this object N/A N/A instance _ct_inventory None N/A Extension N/A N/A extensions Extension N/A handle_model N/A N/A self N/A N/A N/A N/A N/A N/A self model add_to_class _ct_inventory N/A JSONField N/A _ content types editable False blank True null True N/A N/A N/A self model content_proxy_class TrackerContentProxy N/A N/A N/A pre_save connect single_pre_save_handler sender N/A self model N/A N/A hasattr N/A self model get_descendants N/A N/A N/A N/A post_save connect tree_post_save_handler sender N/A self model N/A N/A