Module ImportFrom alias ImportFrom alias identifier ImportFrom alias alias ClassDef bases AttributeLoad NameLoad attr body Assign NameStore Dict FunctionDef arguments args NameParam NameParam NameParam defaults body TryExcept body Assign NameStore SubscriptLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index AttributeLoad NameLoad attr Index TupleLoad NameLoad NameLoad handlers ExceptHandler type NameLoad body Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore TupleLoad AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Return SubscriptLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index AttributeLoad NameLoad attr Index NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword Call AttributeLoad AttributeLoad NameLoad attr attr keyword Dict Str Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg body Expr Str Assign NameStore Dict Assign NameStore Call NameLoad Assign NameStore Call NameLoad Assign NameStore Call NameLoad For NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad orelse Assign SubscriptStore NameLoad Index NameLoad NameLoad If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad For NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr If CompareIn AttributeLoad NameLoad attr NameLoad body Assign SubscriptStore NameLoad Index NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad For NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword Call AttributeLoad AttributeLoad NameLoad attr attr keyword Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign SubscriptStore NameLoad Index Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str TryExcept body Assign NameStore SubscriptLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index AttributeLoad NameLoad attr Index NameLoad handlers ExceptHandler type NameLoad body Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore TupleLoad AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign SubscriptStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Dict Index NameLoad NameLoad Assign SubscriptStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Dict Index AttributeLoad NameLoad attr NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr keyword Num Assign NameStore Call AttributeLoad NameLoad attr keyword Num Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad Str keyword Num Assign NameStore Call NameLoad ClassDef bases body Assign NameStore Call NameLoad Str Assign NameStore Call NameLoad Str Assign NameStore Str Assign NameStore TupleLoad Str Assign NameStore TupleLoad TupleLoad Str Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr If BoolOpOr UnaryOpNot NameLoad CompareNotEq AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr body Return AttributeLoad NameLoad attr orelse Return Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str ImportFrom alias Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults kwarg body Expr Str Return Call AttributeLoad Call AttributeLoad AttributeLoad Call AttributeLoad NameLoad attr attr attr AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults kwarg body Expr Str Return Call AttributeLoad Call AttributeLoad AttributeLoad Call AttributeLoad NameLoad attr attr attr AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list decorator_list
N/A django.db models django.utils.translation ugettext_lazy _ django.utils.encoding smart_unicode force_unicode ContentTypeManager N/A N/A models Manager N/A N/A _cache N/A get_by_natural_key N/A N/A self app_label model N/A N/A N/A N/A N/A ct N/A N/A N/A N/A self __class__ _cache N/A N/A self db N/A N/A app_label model N/A N/A N/A KeyError N/A N/A ct N/A N/A self get app_label app_label model model N/A N/A N/A self _add_to_cache N/A self db ct N/A ct N/A _get_opts N/A N/A self model N/A N/A N/A N/A N/A N/A model _meta concrete_model _meta N/A _get_from_cache N/A N/A self opts N/A N/A N/A key N/A N/A opts app_label N/A N/A N/A opts object_name lower N/A N/A N/A N/A N/A self __class__ _cache N/A N/A self db N/A key N/A get_for_model N/A N/A self model N/A N/A N/A 
        Returns the ContentType object for a given model, creating the
        ContentType if necessary. Lookups are cached so that subsequent lookups
        for the same model don't hit the database.
         N/A opts N/A N/A self _get_opts model N/A N/A N/A ct N/A N/A self _get_from_cache opts N/A N/A N/A KeyError N/A N/A N/A ct created N/A N/A self get_or_create app_label N/A opts app_label model N/A N/A N/A opts object_name lower defaults N/A name N/A smart_unicode N/A opts verbose_name_raw N/A N/A N/A self _add_to_cache N/A self db ct N/A ct N/A get_for_models N/A N/A self N/A models N/A N/A 
        Given *models, returns a dictionary mapping {model: content_type}.
         N/A results N/A N/A needed_app_labels N/A set N/A needed_models N/A set N/A needed_opts N/A set N/A model models N/A N/A opts N/A N/A self _get_opts model N/A N/A N/A ct N/A N/A self _get_from_cache opts N/A N/A N/A KeyError N/A N/A N/A N/A needed_app_labels add N/A opts app_label N/A N/A N/A needed_models add N/A N/A N/A opts object_name lower N/A N/A N/A needed_opts add opts N/A N/A N/A results N/A model ct N/A needed_opts N/A N/A cts N/A N/A self filter app_label__in needed_app_labels model__in needed_models N/A ct cts N/A N/A model N/A N/A ct model_class N/A N/A N/A model _meta needed_opts N/A N/A N/A results N/A model ct N/A N/A N/A needed_opts remove N/A model _meta N/A N/A N/A self _add_to_cache N/A self db ct N/A opts needed_opts N/A N/A ct N/A N/A self create app_label N/A opts app_label model N/A N/A N/A opts object_name lower name N/A smart_unicode N/A opts verbose_name_raw N/A N/A N/A self _add_to_cache N/A self db ct N/A N/A results N/A N/A N/A ct model_class ct N/A results N/A get_for_id N/A N/A self id N/A N/A N/A 
        Lookup a ContentType by ID. Uses the same shared cache as get_for_model
        (though ContentTypes are obviously not created on-the-fly by get_by_id).
         N/A N/A N/A ct N/A N/A N/A N/A self __class__ _cache N/A N/A self db N/A id N/A N/A N/A KeyError N/A N/A ct N/A N/A self get pk id N/A N/A N/A self _add_to_cache N/A self db ct N/A ct N/A clear_cache N/A N/A self N/A N/A N/A 
        Clear out the content-type cache. This needs to happen during database
        flushes to prevent caching of "stale" content type IDs (see
        django.contrib.contenttypes.management.update_contenttypes for where
        this gets called).
         N/A N/A N/A N/A N/A self __class__ _cache clear N/A _add_to_cache N/A N/A self using ct N/A N/A N/A Insert a ContentType into the cache. N/A model N/A N/A ct model_class N/A key N/A N/A N/A model _meta app_label N/A N/A N/A N/A model _meta object_name lower N/A N/A N/A N/A N/A N/A self __class__ _cache setdefault using N/A N/A key ct N/A N/A N/A N/A N/A N/A self __class__ _cache setdefault using N/A N/A N/A ct id ct N/A N/A ContentType N/A N/A models Model N/A N/A name N/A N/A models CharField max_length 100 N/A app_label N/A N/A models CharField max_length 100 N/A model N/A N/A models CharField N/A _ python model class name max_length 100 N/A objects N/A ContentTypeManager Meta N/A N/A N/A verbose_name N/A _ content type N/A verbose_name_plural N/A _ content types N/A db_table django_content_type N/A ordering N/A name N/A unique_together N/A N/A app_label model N/A __unicode__ N/A N/A self N/A N/A N/A model N/A N/A self model_class N/A N/A N/A model N/A N/A self name N/A N/A model _meta verbose_name_raw N/A N/A N/A self name N/A N/A N/A force_unicode N/A N/A model _meta verbose_name N/A model_class N/A N/A self N/A N/A N/A Returns the Python model class for this type of content. django.db models N/A N/A N/A models get_model N/A self app_label N/A self model only_installed False N/A get_object_for_this_type N/A N/A self N/A kwargs N/A N/A 
        Returns an object of this type for the keyword arguments given.
        Basically, this is a proxy around this object_type's get_object() model
        method. The ObjectNotExist exception, if thrown, will not be caught,
        so code that calls this method should catch it.
         N/A N/A N/A N/A N/A N/A N/A N/A self model_class _base_manager using N/A N/A self _state db get kwargs N/A get_all_objects_for_this_type N/A N/A self N/A kwargs N/A N/A 
        Returns all objects of this type for the keyword arguments given.
         N/A N/A N/A N/A N/A N/A N/A N/A self model_class _base_manager using N/A N/A self _state db filter kwargs N/A natural_key N/A N/A self N/A N/A N/A N/A N/A self app_label N/A self model N/A N/A