Module Expr Str ImportFrom alias ImportFrom alias ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Expr Str If UnaryOpNot NameLoad body Return Str If Call NameLoad NameLoad AttributeLoad NameLoad attr body Return NameLoad Return BinOpMod Str TupleLoad AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad attr AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Expr Str If UnaryOpNot NameLoad body Return ListLoad Return ListComp Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad comprehension NameStore NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Expr Call NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Return Call NameLoad NameLoad NameLoad decorator_list decorator_list
N/A N/A Model choice fields that take a ContentType too: for generic relations. django.contrib.contenttypes.models ContentType django.utils six ContentTypeModelFieldMixin N/A object N/A N/A 
    Common methods for form fields for GenericForeignKey.

    ModelChoiceFieldMixin expects options to look like::

        <option value="4">Model #4</option>

    With a ContentType of id 3 for that model, it becomes::

        <option value="3-4">Model #4</option>
     prepare_value N/A N/A self value N/A N/A N/A Return a ctypeid-objpk string for value. N/A N/A value N/A N/A N/A N/A isinstance value N/A six string_types N/A N/A value N/A N/A %s-%s N/A N/A N/A N/A N/A ContentType objects get_for_model value pk N/A value pk N/A N/A ContentTypeModelMultipleFieldMixin N/A ContentTypeModelFieldMixin N/A N/A Same as ContentTypeModelFieldMixin, but supports value list. prepare_value N/A N/A self value N/A N/A N/A Run the parent's method for each value. N/A N/A value N/A N/A N/A N/A N/A N/A N/A N/A super ContentTypeModelMultipleFieldMixin self prepare_value v N/A v value N/A N/A GenericModelMixin N/A ContentTypeModelFieldMixin N/A N/A GenericForeignKey support for form fields, with FutureModelForm.

    GenericForeignKey enforce editable=false, this class implements
    save_object_data() and value_from_object() to allow FutureModelForm to
    compensate.
     save_object_data N/A N/A self instance name value N/A N/A N/A Set the attribute, for FutureModelForm. N/A N/A setattr instance name value N/A value_from_object N/A N/A self instance name N/A N/A N/A Get the attribute, for FutureModelForm. N/A N/A getattr instance name N/A N/A