Module ImportFrom alias ImportFrom alias ImportFrom alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias TryExcept body ImportFrom alias handlers ExceptHandler type NameLoad body ImportFrom alias identifier ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias FunctionDef arguments args NameParam defaults body If CompareIs NameLoad NameLoad body Return NameLoad If Call AttributeLoad NameLoad attr NameLoad body If AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr attr keyword NameLoad orelse Raise Call NameLoad Str Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str Str NameLoad NameLoad For NameStore Call AttributeLoad NameLoad attr NameLoad body If CompareEq AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults Num Num body Expr Str If Call AttributeLoad NameLoad attr body Assign NameStore Str Assign NameStore Call NameLoad NameLoad orelse Assign NameStore Str Assign NameStore Call NameLoad NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str If CompareLt NameLoad Num body Assign NameStore Call NameLoad NameLoad If CompareLt NameLoad BinOpSub NameLoad NameLoad body Assign NameStore BinOpAdd BinOpMult Str BinOpSub BinOpSub NameLoad NameLoad NameLoad NameLoad Return BinOpAdd NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If Call NameLoad NameLoad NameLoad body Return Call NameLoad NameLoad orelse If Call NameLoad NameLoad NameLoad body Return Call NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad AttributeLoad Call NameLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body Assign NameStore IfExp NameLoad Call NameLoad NameLoad AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr If Call NameLoad NameLoad NameLoad body ImportFrom alias Assign NameStore Call NameLoad NameLoad NameLoad NameLoad If Call NameLoad NameLoad Str body Assign NameStore Call AttributeLoad NameLoad attr NameLoad orelse Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Assign NameStore ListComp NameLoad comprehension NameStore Call AttributeLoad NameLoad attr BoolOpAnd Call NameLoad NameLoad Str UnaryOpNot AttributeLoad AttributeLoad NameLoad attr attr UnaryOpNot AttributeLoad AttributeLoad NameLoad attr attr If NameLoad body Assign NameStore ListComp NameLoad comprehension NameStore NameLoad CompareNotEq NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return SubscriptLoad Call NameLoad NameLoad Index Num decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore ListLoad For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return ListComp AttributeLoad AttributeLoad NameLoad attr attr comprehension NameStore Call NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return CompareNotEq Call NameLoad NameLoad ListLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body For NameStore AttributeLoad AttributeLoad NameLoad attr attr body If CompareEq AttributeLoad NameLoad attr NameLoad body Return NameLoad Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad body Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad NameLoad NameLoad NameLoad NameLoad If BoolOpAnd CompareIs NameLoad NameLoad Call AttributeLoad NameLoad attr UnaryOpNot AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr NameLoad If BoolOpAnd NameLoad BoolOpAnd UnaryOpNot AttributeLoad NameLoad attr UnaryOpNot AttributeLoad NameLoad attr CompareIs NameLoad NameLoad body Raise Call NameLoad BinOpMod Str AttributeLoad NameLoad attr Assign NameStore NameLoad If BoolOpAnd AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr NameLoad body Assign NameStore NameLoad Return TupleLoad NameLoad NameLoad decorator_list Assign NameStore Dict Assign NameStore NameLoad For NameStore NameLoad body Assign TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad If NameLoad body Assign NameStore NameLoad orelse Assign SubscriptStore NameLoad Index AttributeLoad NameLoad attr NameLoad For NameStore Call NameLoad NameLoad AttributeLoad NameLoad attr body Assign NameStore SubscriptLoad NameLoad Index SubscriptLoad Call AttributeLoad NameLoad attr Str Index Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad If CompareIs NameLoad NameLoad body Continue If UnaryOpNot Call NameLoad NameLoad Str body Assign NameStore ListLoad NameLoad For NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad If CompareIn NameLoad NameLoad body If UnaryOpNot Call NameLoad SubscriptLoad NameLoad Index NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad ListLoad SubscriptLoad NameLoad Index NameLoad NameLoad orelse Expr Call AttributeLoad SubscriptLoad NameLoad Index NameLoad attr NameLoad orelse Assign SubscriptStore NameLoad Index NameLoad NameLoad Assign NameStore Dict If NameLoad body If Call NameLoad NameLoad TupleLoad NameLoad NameLoad body Assign SubscriptStore NameLoad Index Str NameLoad orelse If Call NameLoad NameLoad NameLoad body If CompareGt Call NameLoad NameLoad Num body Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore SubscriptLoad NameLoad Slice Num Assign SubscriptStore NameLoad Index Str NameLoad orelse Raise Call NameLoad Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad If CompareGt Call NameLoad NameLoad Num body Assign SubscriptStore NameLoad Index NameLoad Call NameLoad Call NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore AttributeLoad AttributeLoad Call NameLoad NameLoad attr attr Return Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults kwarg body Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str NameLoad ClassDef bases body Assign NameStore NameLoad decorator_list Assign AttributeStore NameLoad attr Dict For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad Assign AttributeStore NameLoad attr Call NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareIn NameLoad AttributeLoad NameLoad attr body Return SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Raise Call NameLoad NameLoad decorator_list decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword NameLoad keyword Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Return CompareGt Call AttributeLoad NameLoad attr keyword Num Num decorator_list FunctionDef arguments args NameParam NameParam defaults body If BoolOpAnd CompareIs NameLoad NameLoad CompareIsNot NameLoad NameLoad body Return NameLoad orelse If BoolOpAnd CompareIsNot NameLoad NameLoad CompareIs NameLoad NameLoad body Return NameLoad orelse Return CompareLt NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If BoolOpAnd CompareIs NameLoad NameLoad CompareIsNot NameLoad NameLoad body Return NameLoad orelse If BoolOpAnd CompareIsNot NameLoad NameLoad CompareIs NameLoad NameLoad body Return NameLoad orelse Return CompareGt NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return UnaryOpNot Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return UnaryOpNot Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body If UnaryOpNot NameLoad body Return Num Assign NameStore Num Assign NameStore Num For TupleStore NameStore NameStore NameLoad body If CompareIsNot NameLoad NameLoad body Assign NameStore IfExp CompareEq NameLoad Str Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad orelse Assign NameStore NameLoad If CompareIsNot NameLoad NameLoad body Assign NameStore IfExp CompareEq NameLoad Str Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad orelse Assign NameStore NameLoad If BoolOpAnd CompareEq NameLoad NameLoad CompareNotEq NameLoad NameLoad body Return IfExp Call NameLoad NameLoad NameLoad Num Num orelse If BoolOpAnd CompareEq NameLoad NameLoad CompareNotEq NameLoad NameLoad body Return IfExp Call NameLoad NameLoad NameLoad Num Num Return Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Dict Str Str Str Str Str Lambda arguments args NameParam NameParam defaults CompareEq NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Assign NameStore ListLoad NameLoad If Call NameLoad NameLoad AttributeLoad NameLoad attr body Raise Call NameLoad Str For NameStore NameLoad body Assign NameStore Call NameLoad ListLoad TupleLoad Str Str Str ListComp Call NameLoad BinOpAdd Call AttributeLoad NameLoad attr Str ListLoad NameLoad comprehension NameStore Call AttributeLoad NameLoad attr For TupleStore NameStore NameStore NameStore NameLoad body If CompareEq NameLoad Str body Continue Assign NameStore SubscriptLoad NameLoad Index NameLoad If CompareEq NameLoad Str body Assign NameStore Call AttributeLoad NameLoad attr orelse Assign NameStore Call AttributeLoad NameLoad attr NameLoad If Call NameLoad NameLoad body Assign NameStore Call NameLoad If UnaryOpNot Call NameLoad NameLoad TupleLoad NameLoad NameLoad body Assign NameStore ListLoad NameLoad orelse Assign NameStore NameLoad Assign NameStore GeneratorExp IfExp CompareEq NameLoad Str Call NameLoad NameLoad NameLoad Call AttributeLoad NameLoad attr NameLoad comprehension NameStore NameLoad If UnaryOpNot Call NameLoad NameLoad TupleLoad NameLoad NameLoad body Assign NameStore ListLoad NameLoad Assign NameStore NameLoad For NameStore NameLoad body If UnaryOpNot Call NameLoad GeneratorExp Call NameLoad NameLoad NameLoad comprehension NameStore NameLoad body Assign NameStore NameLoad Break orelse Assign NameStore NameLoad If UnaryOpNot NameLoad body Break orelse Return NameLoad Return NameLoad decorator_list
N/A datetime datetime decimal Decimal itertools chain N/A warnings django.apps apps django.conf settings django.db.backends.utils format_number django.db IntegrityError django.db.models.query QuerySet django.utils timezone google.appengine.api datastore google.appengine.api.datastore Key Query N/A N/A django.db.models.expressions BaseExpression N/A N/A N/A ImportError N/A django.db.models.expressions ExpressionNode BaseExpression djangae.utils memoized djangae.db.backends.appengine.indexing special_indexes_for_column REQUIRES_SPECIAL_INDEXES djangae.db.backends.appengine.dbapi CouldBeSupportedError djangae.db.backends.appengine POLYMODEL_CLASS_ATTRIBUTE make_timezone_naive N/A N/A value N/A N/A N/A N/A value None N/A N/A None N/A N/A N/A timezone is_aware value N/A N/A N/A settings USE_TZ N/A N/A value N/A N/A N/A N/A value astimezone N/A timezone utc replace tzinfo None N/A N/A N/A ValueError Djangae backend does not support timezone-aware datetimes when USE_TZ is False. N/A value N/A get_model_from_db_table N/A N/A db_table N/A N/A N/A kwargs N/A include_auto_created include_swapped True True N/A model N/A N/A apps get_models kwargs N/A N/A N/A N/A N/A model _meta db_table db_table N/A N/A model N/A memoized decimal_to_string N/A N/A value max_digits decimal_places N/A 16 0 N/A N/A 
    Converts decimal to a unicode string for storage / lookup by nonrel
    databases that don't support decimals natively.

    This is an extension to `django.db.backends.utils.format_number`
    that preserves order -- if one decimal is less than another, their
    string representations should compare the same (as strings).

    TODO: Can't this be done using string.format()?
          Not in Python 2.5, str.format is backported to 2.6 only.
     N/A N/A N/A value is_signed N/A N/A sign - N/A value N/A abs value N/A N/A sign N/A value N/A format_number value max_digits decimal_places N/A n N/A N/A value find . N/A N/A n 0 N/A N/A n N/A len value N/A N/A n N/A max_digits decimal_places N/A N/A value N/A N/A 0 N/A N/A max_digits decimal_places n value N/A N/A sign value N/A normalise_field_value N/A N/A value N/A N/A N/A  Converts a field value to a common type/format to make comparable to another.  N/A N/A isinstance value datetime N/A N/A N/A make_timezone_naive value N/A N/A N/A isinstance value Decimal N/A N/A N/A decimal_to_string value N/A value N/A get_datastore_kind N/A N/A model N/A N/A N/A N/A N/A N/A get_top_concrete_parent model _meta db_table N/A get_prepared_db_value N/A N/A connection instance field raw N/A False N/A N/A value N/A raw N/A getattr instance N/A field attname N/A N/A field pre_save instance N/A N/A instance _state adding N/A N/A isinstance value BaseExpression N/A djangae.db.backends.appengine.expressions evaluate_expression N/A value N/A evaluate_expression value instance connection N/A N/A hasattr value prepare_database_save N/A N/A value N/A N/A value prepare_database_save field N/A N/A value N/A N/A field get_db_prep_save value connection connection N/A value N/A N/A N/A connection ops value_for_db value field N/A value N/A get_concrete_parents N/A N/A model ignore_leaf N/A False N/A N/A ret N/A x N/A x N/A N/A model mro N/A N/A hasattr x _meta N/A N/A N/A x _meta abstract N/A N/A N/A x _meta proxy N/A ignore_leaf N/A N/A ret N/A x N/A x ret N/A x model N/A ret N/A get_top_concrete_parent N/A N/A model N/A N/A N/A N/A N/A get_concrete_parents model N/A -1 N/A memoized get_concrete_fields N/A N/A model ignore_leaf N/A False N/A N/A 
        Returns all the concrete fields for the model, including those
        from parent models
     N/A concrete_classes N/A get_concrete_parents model ignore_leaf N/A fields N/A N/A klass concrete_classes N/A N/A N/A N/A fields extend N/A N/A klass _meta fields N/A fields N/A get_concrete_db_tables N/A N/A model N/A N/A N/A N/A N/A N/A x _meta db_table N/A x N/A get_concrete_parents model N/A memoized has_concrete_parents N/A N/A model N/A N/A N/A N/A N/A get_concrete_parents model N/A model N/A memoized get_field_from_column N/A N/A model column N/A N/A N/A field N/A N/A model _meta fields N/A N/A N/A N/A field column column N/A N/A field N/A None N/A memoized django_instance_to_entity N/A N/A connection model fields raw instance check_null N/A True N/A N/A inheritance_root N/A get_top_concrete_parent model N/A db_table N/A get_datastore_kind inheritance_root value_from_instance N/A N/A _instance _field N/A N/A N/A value N/A get_prepared_db_value connection _instance _field raw N/A N/A N/A value None N/A N/A _field has_default N/A N/A _field null N/A N/A value N/A N/A N/A connection ops value_for_db N/A N/A _field get_default _field N/A N/A check_null N/A N/A N/A _field null N/A N/A _field primary_key N/A value None N/A N/A N/A IntegrityError N/A You can't set %s (a non-nullable field) to None! N/A _field name N/A is_primary_key False N/A N/A N/A _field primary_key N/A N/A _field model inheritance_root N/A N/A is_primary_key True N/A N/A value is_primary_key N/A N/A field_values N/A N/A primary_key None N/A field fields N/A N/A N/A value is_primary_key N/A value_from_instance instance field N/A is_primary_key N/A N/A primary_key value N/A N/A N/A field_values N/A N/A field column value N/A index N/A special_indexes_for_column model N/A field column N/A N/A indexer N/A REQUIRES_SPECIAL_INDEXES N/A N/A N/A N/A index split __ N/A 0 N/A values N/A N/A indexer prep_value_for_database value index N/A N/A values None N/A N/A N/A N/A N/A hasattr values __iter__ N/A N/A values N/A values N/A v values N/A N/A column N/A N/A indexer indexed_column_name N/A field column v index N/A N/A column field_values N/A N/A N/A N/A isinstance N/A field_values N/A column list N/A N/A N/A field_values N/A column N/A N/A field_values N/A column v N/A N/A N/A N/A N/A field_values N/A column append v N/A N/A N/A field_values N/A column v N/A kwargs N/A N/A primary_key N/A N/A N/A isinstance primary_key N/A int long N/A N/A N/A kwargs N/A id primary_key N/A N/A N/A isinstance primary_key basestring N/A N/A N/A N/A len primary_key 500 N/A N/A N/A N/A warnings warn Truncating primary key that is over 500 characters. THIS IS AN ERROR IN YOUR PROGRAM. RuntimeWarning N/A primary_key N/A primary_key N/A 500 N/A N/A kwargs N/A name primary_key N/A N/A N/A ValueError Invalid primary key value N/A namespace N/A N/A N/A connection settings_dict get NAMESPACE N/A entity N/A N/A datastore Entity db_table namespace namespace kwargs N/A N/A N/A entity update field_values N/A classes N/A get_concrete_db_tables model N/A N/A N/A len classes 1 N/A N/A N/A entity N/A POLYMODEL_CLASS_ATTRIBUTE N/A list N/A set classes N/A entity N/A get_datastore_key N/A N/A model pk namespace N/A N/A N/A  Return a datastore.Key for the given model and primary key.
     N/A kind N/A N/A N/A get_top_concrete_parent model _meta db_table N/A N/A N/A Key from_path kind pk namespace namespace N/A MockInstance N/A object N/A N/A 
        This creates a mock instance for use when passing a datastore entity
        into get_prepared_db_value. This is used when performing updates to prevent a complete
        conversion to a Django instance before writing back the entity
     __init__ N/A N/A self N/A kwargs N/A N/A is_adding N/A N/A kwargs pop _is_adding False N/A N/A self _original N/A N/A kwargs pop _original None N/A N/A self _meta N/A N/A kwargs pop _meta None State N/A N/A N/A adding is_adding N/A N/A N/A self fields N/A N/A N/A field_name value N/A N/A kwargs items N/A N/A N/A N/A self fields N/A field_name value N/A N/A self _state N/A State N/A __getattr__ N/A N/A self attr N/A N/A N/A N/A attr N/A self fields N/A N/A N/A N/A self fields N/A attr N/A N/A AttributeError attr N/A N/A key_exists N/A N/A key N/A N/A N/A qry N/A Query keys_only True namespace N/A N/A key namespace N/A N/A N/A qry Ancestor key N/A N/A N/A N/A qry Count limit 1 0 N/A lt N/A N/A x y N/A N/A N/A N/A N/A x None N/A y None N/A N/A True N/A N/A N/A N/A x None N/A y None N/A N/A False N/A N/A N/A x y N/A gt N/A N/A x y N/A N/A N/A N/A N/A x None N/A y None N/A N/A False N/A N/A N/A N/A x None N/A y None N/A N/A True N/A N/A N/A x y N/A gte N/A N/A x y N/A N/A N/A N/A N/A lt x y N/A lte N/A N/A x y N/A N/A N/A N/A N/A gt x y N/A django_ordering_comparison N/A N/A ordering lhs rhs N/A N/A N/A N/A ordering N/A N/A -1 N/A ASCENDING 1 N/A DESCENDING 2 N/A N/A order direction ordering N/A N/A N/A lhs None N/A N/A lhs_value N/A N/A order __key__ N/A N/A lhs key N/A N/A lhs get order N/A N/A lhs_value None N/A N/A rhs None N/A N/A rhs_value N/A N/A order __key__ N/A N/A rhs key N/A N/A rhs get order N/A N/A rhs_value None N/A N/A N/A direction ASCENDING N/A lhs_value rhs_value N/A N/A N/A N/A lt lhs_value rhs_value -1 1 N/A N/A N/A N/A direction DESCENDING N/A lhs_value rhs_value N/A N/A N/A N/A lt lhs_value rhs_value 1 -1 N/A 0 N/A entity_matches_query N/A N/A entity query N/A N/A N/A 
        Return True if the entity would potentially be returned by the datastore
        query
     N/A OPERATORS N/A = < > <= >= N/A N/A N/A x y N/A N/A x y lt gt lte gte N/A queries N/A query N/A N/A isinstance query N/A datastore MultiQuery N/A N/A N/A CouldBeSupportedError We just need to separate the multiquery into 'queries' then everything should work N/A query queries N/A N/A comparisons N/A chain N/A N/A _Query__kind = _Query__kind N/A N/A tuple N/A N/A N/A x split N/A x N/A x N/A N/A query keys N/A N/A ent_attr op query_attr comparisons N/A N/A N/A ent_attr __key__ N/A N/A N/A op N/A OPERATORS N/A op N/A N/A ent_attr _Query__kind N/A N/A ent_attr N/A N/A entity kind N/A N/A ent_attr N/A N/A entity get ent_attr N/A N/A callable ent_attr N/A N/A ent_attr N/A ent_attr N/A N/A N/A isinstance query_attr N/A list tuple N/A N/A query_attrs N/A query_attr N/A N/A query_attrs query_attr N/A query_attrs N/A N/A N/A x _Query__kind N/A getattr query x N/A N/A query get x N/A x query_attrs N/A N/A N/A isinstance ent_attr N/A list tuple N/A N/A ent_attr N/A ent_attr N/A matches False N/A query_attr query_attrs N/A N/A N/A N/A any N/A N/A op attr query_attr N/A attr ent_attr N/A N/A matches False N/A N/A N/A matches True N/A N/A matches N/A N/A N/A N/A True N/A False N/A