Module ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias Assign NameStore TupleLoad Str ClassDef bases AttributeLoad NameLoad attr body Expr Str Assign NameStore Str Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam defaults kwarg body Assign AttributeStore NameLoad attr Call NameLoad NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str ListLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str ListLoad Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Dict Assign NameStore Dict If UnaryOpNot Call NameLoad NameLoad NameLoad body Assign SubscriptStore NameLoad Index AttributeLoad NameLoad attr NameLoad orelse Assign NameStore NameLoad Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr For NameStore Call AttributeLoad Call NameLoad NameLoad attr body If CompareEq NameLoad Str body Continue If Call NameLoad ListComp CompareIn NameLoad NameLoad comprehension NameStore AttributeLoad AttributeLoad NameLoad attr attr body Continue TryExcept body Assign NameStore SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Index Num If BoolOpOr AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Continue handlers ExceptHandler type NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad If CompareIn NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad Continue Raise Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Assign SubscriptStore NameLoad Index NameLoad Call AttributeLoad NameLoad attr NameLoad If UnaryOpNot Call NameLoad NameLoad body Raise Call AttributeLoad NameLoad attr Str TryExcept body Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr body Assign NameStore BinOpMod Str Call NameLoad NameLoad ExceptHandler type AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad Str attr Call NameLoad NameLoad ExceptHandler type TupleLoad NameLoad NameLoad body Assign NameStore Str Raise Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If UnaryOpNot Call NameLoad NameLoad Str NameLoad body Return NameLoad Return AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If UnaryOpNot Call NameLoad NameLoad Str body ClassDef bases AttributeLoad NameLoad attr body ClassDef bases body Assign NameStore NameLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr decorator_list decorator_list Assign AttributeStore NameLoad attr NameLoad Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign NameStore Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str NameLoad Return Call AttributeLoad NameLoad attr NameLoad keyword AttributeLoad NameLoad attr keyword NameLoad decorator_list decorator_list
N/A __future__ absolute_import unicode_literals copy copy django.core exceptions django.db.models.fields FieldDoesNotExist rest_framework serializers rest_framework.compat smart_text rest_framework.settings api_settings N/A __all__ N/A RelatedField RelatedField N/A N/A serializers RelatedField N/A N/A Related field class that returns both the ID and
    the API endpoint URL.
     N/A default_lookup_field pk N/A read_only False __init__ N/A N/A self seen_models N/A kwargs N/A N/A N/A self _seen_models N/A set seen_models N/A N/A self _fields N/A N/A kwargs pop fields N/A N/A N/A self _exclude N/A N/A kwargs pop exclude N/A N/A N/A N/A N/A super RelatedField self __init__ kwargs N/A from_native N/A N/A self value N/A N/A N/A Return the appropriate model instance object based on the
        provided value.
         N/A params N/A N/A defaults N/A N/A N/A N/A isinstance value dict N/A N/A N/A params N/A N/A self default_lookup_field value N/A N/A params value N/A rel_model N/A N/A self queryset model N/A key N/A N/A N/A copy params keys N/A N/A N/A key pk N/A N/A N/A N/A any N/A N/A key ut N/A ut N/A N/A rel_model _meta unique_together N/A N/A N/A N/A N/A field N/A N/A N/A N/A rel_model _meta get_field_by_name key N/A 0 N/A N/A N/A field unique N/A field primary_key N/A N/A N/A N/A N/A FieldDoesNotExist N/A N/A serializer N/A N/A self _get_serializer N/A rel_model N/A N/A key N/A serializer fields N/A N/A N/A N/A params pop key N/A N/A N/A N/A exceptions ValidationError N/A Unknown field: `%s`. key N/A N/A defaults N/A key N/A N/A params pop key N/A N/A N/A len params N/A N/A N/A N/A exceptions ValidationError No unique (or jointly-unique) parameters were provided. N/A N/A N/A N/A N/A N/A self queryset get params N/A N/A N/A N/A exceptions ObjectDoesNotExist N/A N/A error_msg N/A Object does not exist with: %s. N/A smart_text value N/A N/A N/A exceptions MultipleObjectsReturned N/A N/A error_msg N/A N/A Multiple objects returned for: {0}. format N/A smart_text value N/A N/A N/A TypeError ValueError N/A N/A error_msg Type mismatch. N/A N/A N/A exceptions ValidationError error_msg N/A label_from_instance N/A N/A self obj N/A N/A N/A N/A smart_text obj N/A prepare_value N/A N/A self obj N/A N/A N/A N/A obj pk N/A to_native N/A N/A self obj N/A N/A N/A Return a dictionary including both the ID and the API's
        endpoint URL.
         N/A N/A N/A getattr obj pk None N/A N/A None N/A N/A N/A N/A self _get_serializer obj data N/A _create_serializer_class N/A N/A self model_class N/A N/A N/A Create a serializer class for this related field,
        and save it on this class instance.

        Return True if a new class was created, False otherwise.
         N/A N/A N/A hasattr self _serializer_class N/A Serializer N/A N/A api_settings DEFAULT_MODEL_SERIALIZER_CLASS N/A Meta N/A N/A N/A model model_class N/A fields N/A self _fields N/A exclude N/A self _exclude N/A N/A N/A N/A self _serializer_class Serializer N/A True N/A False N/A _get_serializer N/A N/A self obj N/A N/A N/A Return a serializer object corresponding to this related
        model class.
         N/A N/A N/A self _create_serializer_class model_class N/A obj __class__ N/A context N/A copy N/A self context N/A N/A N/A context pop child_endpoints None N/A N/A N/A self _serializer_class obj seen_models N/A self _seen_models context context N/A N/A