Module ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias alias alias alias ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias alias alias alias alias alias alias alias ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad keyword Str Assign NameStore Call NameLoad NameLoad NameLoad keyword Str Assign NameStore Call NameLoad Assign NameStore Call NameLoad keyword Call NameLoad Assign NameStore Dict Str Str Str Str Str Str Str Str Str Str Str Str Str Str Assign NameStore Call NameLoad Assign NameStore Call NameLoad NameLoad If Call AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr orelse Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Assign NameStore Call NameLoad NameLoad keyword NameLoad If Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Num Index Str Num Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Num Index Str Str orelse Expr Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr Assign NameStore Dict Str Str Str Str Str Str Str Str Str Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Num Index Str Str Str Assign NameStore Call NameLoad NameLoad keyword NameLoad If Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Num Index Str Num Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Num Index Str Str orelse Expr Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr Assign NameStore Dict Str Str Str Str Str Str Str Str Str Str Str Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Num Index Str Str Str Str Str Assign NameStore Call NameLoad NameLoad keyword NameLoad If Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr attr Str Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Num Index Str Num Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Num Index Str Str Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Num Index Str Num Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Num Index Str Str orelse Expr Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad keyword Str Assign NameStore Call NameLoad NameLoad NameLoad keyword Str Assign NameStore Call NameLoad Assign NameStore Call NameLoad keyword Call NameLoad Assign NameStore Dict Str Str Str Str Str Str Str Str Str Str Assign NameStore Call NameLoad Assign NameStore Call NameLoad NameLoad If Call AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr orelse Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Assign NameStore Call NameLoad NameLoad keyword NameLoad If Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Num Index Str Str orelse Expr Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr Assign NameStore Dict Str Str Str Str Str Str Str Str Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Num Index Str Str Assign NameStore Call NameLoad NameLoad keyword NameLoad If Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Num Index Str Str orelse Expr Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr Assign NameStore Dict Str Str Str Str Str Str Str Str Str Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Num Index Str Str Str Assign NameStore Call NameLoad NameLoad keyword NameLoad If Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr attr Str Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Num Index Str Str Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Num Index Str Str orelse Expr Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad NameLoad keyword TupleLoad Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword Num Assign NameStore Call NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad SubscriptLoad NameLoad Index Num attr attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad NameLoad keyword ListLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword Num keyword Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword Str keyword Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword Num keyword Num Assign NameStore Call NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad SubscriptLoad NameLoad Index Num attr attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad keyword Str Assign NameStore Call NameLoad NameLoad NameLoad keyword Str Expr Call NameLoad keyword NameLoad Expr Call NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad keyword TupleLoad Assign NameStore Call NameLoad For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword NameLoad Assign NameStore Call NameLoad NameLoad NameLoad keyword Str Assign NameStore Dict Str Str Str Str Str Str Str Str Str Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str Assign NameStore Call NameLoad NameLoad keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str ListLoad Str Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword Num Assign NameStore Call NameLoad NameLoad NameLoad keyword Num keyword Str Assign NameStore Call NameLoad keyword NameLoad keyword ListLoad Dict Str Num Dict Str Num Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Index Str Num Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Index Str Num Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad keyword Str Assign NameStore Dict Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword Num Assign NameStore Call NameLoad NameLoad keyword Str keyword Num Assign NameStore Call NameLoad keyword ListLoad Dict Str Str Dict Str Str Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Index Str Str Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Index Str Str Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad NameLoad keyword Str Assign NameStore Dict Str Str Str Str Str Str Str Str With Call AttributeLoad NameLoad attr Num body Assign NameStore Call NameLoad NameLoad keyword Str Expr Call AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases AttributeLoad AttributeLoad NameLoad attr attr body Pass decorator_list ClassDef bases AttributeLoad NameLoad attr body ClassDef bases body Assign NameStore NameLoad Assign NameStore Str Assign NameStore Dict Str Str NameLoad NameLoad Assign NameStore TupleLoad Str decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr ListLoad decorator_list FunctionDef arguments args NameParam NameParam defaults kwarg body Expr Call AttributeLoad AttributeLoad NameLoad attr attr TupleLoad NameLoad NameLoad Return Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad NameLoad NameLoad keyword NameLoad keyword Str Assign NameStore SubscriptLoad AttributeLoad Call NameLoad attr Index Num Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad SubscriptLoad NameLoad Index Str attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad SubscriptLoad NameLoad Index Str attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad NameLoad keyword NameLoad Assign NameStore SubscriptLoad AttributeLoad Call NameLoad attr Index Num Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad SubscriptLoad NameLoad Index Str attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad SubscriptLoad NameLoad Index Str attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign TupleStore NameStore NameStore NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore ListLoad TupleLoad NameLoad Dict Str NameLoad TupleLoad NameLoad Dict TupleLoad NameLoad Dict Str Str NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Expr Call NameLoad NameLoad NameLoad keyword NameLoad keyword NameLoad keyword Str Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Expr Call NameLoad NameLoad keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad If CompareIn NameLoad AttributeLoad NameLoad attr body Delete SubscriptDel AttributeLoad NameLoad attr Index NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return BoolOpAnd Call NameLoad NameLoad Str Call AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str ClassDef bases NameLoad NameLoad body Expr Str decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str ClassDef bases body Assign NameStore NameLoad Assign NameStore Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return CompareNotEq BinOpMod AttributeLoad AttributeLoad NameLoad attr attr Num Num decorator_list decorator_list Assign NameStore Call NameLoad NameLoad keyword NameLoad keyword NameLoad Assign NameStore Call NameLoad NameLoad keyword NameLoad keyword NameLoad Assign NameStore Dict Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Assign NameStore Dict Str Str Str Str Str Str Str Str FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str Num Expr Call AttributeLoad NameLoad attr DictComp BinOpMod Str NameLoad AttributeLoad NameLoad attr comprehension TupleStore NameStore NameStore Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str Num Expr Call AttributeLoad NameLoad attr DictComp BinOpMod Str NameLoad AttributeLoad NameLoad attr comprehension TupleStore NameStore NameStore Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str Num Expr Call AttributeLoad NameLoad attr DictComp BinOpMod Str NameLoad AttributeLoad NameLoad attr comprehension TupleStore NameStore NameStore Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign NameStore ListComp AttributeLoad NameLoad attr comprehension NameStore Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword Num Assign NameStore Call NameLoad NameLoad NameLoad keyword Str Assign NameStore Dict Str Str Str Str Str Str Str Str Str Str Str Str Str Str Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Str Str Assign NameStore Call NameLoad NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign NameStore Call NameLoad NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword Num Assign NameStore Call NameLoad NameLoad NameLoad keyword Str Assign NameStore Dict Str Str Str Str Str Str Str Str Str Str Str Str Str Str Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Str Str Assign NameStore Call NameLoad NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Num decorator_list decorator_list
N/A __future__ unicode_literals django forms django.forms.formsets DELETION_FIELD_NAME BaseFormSet django.forms.models BaseModelFormSet inlineformset_factory modelform_factory modelformset_factory django.forms.utils ErrorDict ErrorList django.test TestCase django.utils six models Host Manager Network ProfileNetwork Restaurant User UserProfile UserSite InlineFormsetTests N/A TestCase N/A test_formset_over_to_field N/A N/A self N/A N/A N/A A formset over a ForeignKey with a to_field can be saved. Regression for #10243 N/A Form N/A modelform_factory User fields __all__ N/A FormSet N/A inlineformset_factory User UserSite fields __all__ N/A form N/A Form N/A form_set N/A FormSet instance N/A User N/A data N/A serial username usersite_set-TOTAL_FORMS usersite_set-INITIAL_FORMS usersite_set-MAX_NUM_FORMS usersite_set-0-data usersite_set-0-user 1 apollo13 1 0 0 10 apollo13 N/A user N/A User N/A form N/A Form data N/A N/A N/A form is_valid N/A N/A user N/A N/A form save N/A N/A N/A N/A self fail N/A Errors found on form:%s form_set N/A form_set N/A FormSet data instance user N/A N/A N/A form_set is_valid N/A N/A N/A N/A form_set save N/A usersite N/A N/A N/A N/A N/A UserSite objects all values N/A N/A N/A self assertEqual N/A N/A usersite N/A 0 N/A data 10 N/A N/A N/A self assertEqual N/A N/A usersite N/A 0 N/A user_id apollo13 N/A N/A N/A N/A self fail N/A Errors found on formset:%s N/A form_set errors N/A data N/A usersite_set-TOTAL_FORMS usersite_set-INITIAL_FORMS usersite_set-MAX_NUM_FORMS usersite_set-0-id usersite_set-0-data usersite_set-0-user 1 1 0 N/A N/A six text_type N/A N/A usersite N/A 0 N/A id 11 apollo13 N/A form_set N/A FormSet data instance user N/A N/A N/A form_set is_valid N/A N/A N/A N/A form_set save N/A usersite N/A N/A N/A N/A N/A UserSite objects all values N/A N/A N/A self assertEqual N/A N/A usersite N/A 0 N/A data 11 N/A N/A N/A self assertEqual N/A N/A usersite N/A 0 N/A user_id apollo13 N/A N/A N/A N/A self fail N/A Errors found on formset:%s N/A form_set errors N/A data N/A usersite_set-TOTAL_FORMS usersite_set-INITIAL_FORMS usersite_set-MAX_NUM_FORMS usersite_set-0-id usersite_set-0-data usersite_set-0-user usersite_set-1-data usersite_set-1-user 2 1 0 N/A N/A six text_type N/A N/A usersite N/A 0 N/A id 11 apollo13 42 apollo13 N/A form_set N/A FormSet data instance user N/A N/A N/A form_set is_valid N/A N/A N/A N/A form_set save N/A usersite N/A N/A N/A N/A N/A N/A N/A UserSite objects all values order_by data N/A N/A N/A self assertEqual N/A N/A usersite N/A 0 N/A data 11 N/A N/A N/A self assertEqual N/A N/A usersite N/A 0 N/A user_id apollo13 N/A N/A N/A self assertEqual N/A N/A usersite N/A 1 N/A data 42 N/A N/A N/A self assertEqual N/A N/A usersite N/A 1 N/A user_id apollo13 N/A N/A N/A N/A self fail N/A Errors found on formset:%s N/A form_set errors N/A test_formset_over_inherited_model N/A N/A self N/A N/A N/A A formset over a ForeignKey with a to_field can be saved. Regression for #11120 N/A Form N/A modelform_factory Restaurant fields __all__ N/A FormSet N/A inlineformset_factory Restaurant Manager fields __all__ N/A form N/A Form N/A form_set N/A FormSet instance N/A Restaurant N/A data N/A name manager_set-TOTAL_FORMS manager_set-INITIAL_FORMS manager_set-MAX_NUM_FORMS manager_set-0-name Guido's House of Pasta 1 0 0 Guido Van Rossum N/A restaurant N/A User N/A form N/A Form data N/A N/A N/A form is_valid N/A N/A restaurant N/A N/A form save N/A N/A N/A N/A self fail N/A Errors found on form:%s form_set N/A form_set N/A FormSet data instance restaurant N/A N/A N/A form_set is_valid N/A N/A N/A N/A form_set save N/A manager N/A N/A N/A N/A N/A Manager objects all values N/A N/A N/A self assertEqual N/A N/A manager N/A 0 N/A name Guido Van Rossum N/A N/A N/A N/A self fail N/A Errors found on formset:%s N/A form_set errors N/A data N/A manager_set-TOTAL_FORMS manager_set-INITIAL_FORMS manager_set-MAX_NUM_FORMS manager_set-0-id manager_set-0-name 1 1 0 N/A N/A six text_type N/A N/A manager N/A 0 N/A id Terry Gilliam N/A form_set N/A FormSet data instance restaurant N/A N/A N/A form_set is_valid N/A N/A N/A N/A form_set save N/A manager N/A N/A N/A N/A N/A Manager objects all values N/A N/A N/A self assertEqual N/A N/A manager N/A 0 N/A name Terry Gilliam N/A N/A N/A N/A self fail N/A Errors found on formset:%s N/A form_set errors N/A data N/A manager_set-TOTAL_FORMS manager_set-INITIAL_FORMS manager_set-MAX_NUM_FORMS manager_set-0-id manager_set-0-name manager_set-1-name 2 1 0 N/A N/A six text_type N/A N/A manager N/A 0 N/A id Terry Gilliam John Cleese N/A form_set N/A FormSet data instance restaurant N/A N/A N/A form_set is_valid N/A N/A N/A N/A form_set save N/A manager N/A N/A N/A N/A N/A N/A N/A Manager objects all values order_by name N/A N/A N/A self assertEqual N/A N/A manager N/A 0 N/A name John Cleese N/A N/A N/A self assertEqual N/A N/A manager N/A 1 N/A name Terry Gilliam N/A N/A N/A N/A self fail N/A Errors found on formset:%s N/A form_set errors N/A test_inline_model_with_to_field N/A N/A self N/A N/A N/A 
        #13794 --- An inline model with a to_field of a formset with instance
        has working relations.
         N/A FormSet N/A inlineformset_factory User UserSite exclude N/A is_superuser N/A user N/A N/A N/A User objects create username guido serial 1337 N/A N/A N/A N/A UserSite objects create user user data 10 N/A formset N/A FormSet instance user N/A N/A N/A self assertEqual N/A N/A N/A formset N/A 0 instance user_id guido N/A test_inline_model_with_to_field_to_rel N/A N/A self N/A N/A N/A 
        #13794 --- An inline model with a to_field to a related field of a
        formset with instance has working relations.
         N/A FormSet N/A inlineformset_factory UserProfile ProfileNetwork exclude N/A N/A user N/A N/A N/A User objects create username guido serial 1337 pk 1 N/A N/A N/A self assertEqual N/A user pk 1 N/A profile N/A N/A N/A UserProfile objects create user user about about pk 2 N/A N/A N/A self assertEqual N/A profile pk 2 N/A N/A N/A N/A ProfileNetwork objects create profile profile network 10 identifier 10 N/A formset N/A FormSet instance profile N/A N/A N/A self assertEqual N/A N/A N/A formset N/A 0 instance profile_id 1 N/A test_formset_with_none_instance N/A N/A self N/A N/A N/A A formset with instance=None can be created. Regression for #11872 N/A Form N/A modelform_factory User fields __all__ N/A FormSet N/A inlineformset_factory User UserSite fields __all__ N/A N/A Form instance None N/A N/A FormSet instance None N/A test_empty_fields_on_modelformset N/A N/A self N/A N/A N/A 
        No fields passed to modelformset_factory() should result in no fields
        on returned forms except for the id (#14119).
         N/A UserFormSet N/A modelformset_factory User fields N/A N/A formset N/A UserFormSet N/A form N/A formset forms N/A N/A N/A N/A self assertIn id N/A form fields N/A N/A N/A self assertEqual N/A len N/A form fields 1 N/A test_save_as_new_with_new_inlines N/A N/A self N/A N/A N/A 
        Existing and new inlines are saved with save_as_new.

        Regression for #14938.
         N/A efnet N/A N/A N/A Network objects create name EFNet N/A host1 N/A N/A N/A Host objects create hostname irc.he.net network efnet N/A HostFormSet N/A inlineformset_factory Network Host fields __all__ N/A data N/A host_set-TOTAL_FORMS host_set-INITIAL_FORMS host_set-MAX_NUM_FORMS host_set-0-id host_set-0-hostname host_set-1-hostname 2 1 0 N/A N/A six text_type N/A host1 id tranquility.hub.dal.net matrix.de.eu.dal.net N/A dalnet N/A N/A N/A Network objects create name DALnet N/A formset N/A HostFormSet data instance dalnet save_as_new True N/A N/A N/A self assertTrue N/A N/A formset is_valid N/A N/A N/A formset save N/A N/A N/A self assertQuerysetEqual N/A N/A N/A dalnet host_set order_by hostname N/A <Host: matrix.de.eu.dal.net> <Host: tranquility.hub.dal.net> N/A test_initial_data N/A N/A self N/A N/A N/A user N/A N/A N/A User objects create username bibi serial 1 N/A N/A N/A N/A UserSite objects create user user data 7 N/A FormSet N/A inlineformset_factory User UserSite extra 2 fields __all__ N/A formset N/A FormSet instance user initial N/A N/A data 41 N/A data 42 N/A N/A N/A self assertEqual N/A N/A N/A N/A formset forms N/A 0 initial N/A data 7 N/A N/A N/A self assertEqual N/A N/A N/A N/A formset extra_forms N/A 0 initial N/A data 41 N/A N/A N/A self assertIn value="42" N/A N/A N/A N/A formset extra_forms N/A 1 as_p N/A N/A FormsetTests N/A TestCase N/A test_error_class N/A N/A self N/A N/A N/A 
        Test the type of Formset and Form error attributes
         N/A Formset N/A modelformset_factory User fields __all__ N/A data N/A form-TOTAL_FORMS form-INITIAL_FORMS form-MAX_NUM_FORMS form-0-id form-0-username form-0-serial form-1-id form-1-username form-1-serial 2 0 0 apollo13 1 apollo13 2 N/A formset N/A Formset data N/A N/A N/A self assertIsInstance N/A formset errors list N/A N/A N/A self assertIsInstance N/A N/A formset non_form_errors ErrorList N/A form N/A formset forms N/A N/A N/A N/A self assertIsInstance N/A form errors ErrorDict N/A N/A N/A self assertIsInstance N/A N/A form non_field_errors ErrorList N/A test_initial_data N/A N/A self N/A N/A N/A N/A N/A N/A User objects create username bibi serial 1 N/A Formset N/A modelformset_factory User fields __all__ extra 2 N/A formset N/A Formset initial N/A N/A username apollo11 N/A username apollo12 N/A N/A N/A self assertEqual N/A N/A N/A N/A formset forms N/A 0 initial N/A username bibi N/A N/A N/A self assertEqual N/A N/A N/A N/A formset extra_forms N/A 0 initial N/A username apollo11 N/A N/A N/A self assertIn value="apollo12" N/A N/A N/A N/A formset extra_forms N/A 1 as_p N/A test_extraneous_query_is_not_run N/A N/A self N/A N/A N/A Formset N/A modelformset_factory Network fields __all__ N/A data N/A test-TOTAL_FORMS test-INITIAL_FORMS test-MAX_NUM_FORMS test-0-name 1 0 Random Place N/A N/A N/A self assertNumQueries 1 N/A N/A formset N/A Formset data prefix test N/A N/A N/A formset save N/A N/A CustomWidget N/A N/A N/A forms widgets TextInput N/A N/A N/A UserSiteForm N/A N/A forms ModelForm N/A Meta N/A N/A N/A model UserSite N/A fields __all__ N/A widgets N/A id data CustomWidget CustomWidget N/A localized_fields N/A data N/A N/A Callback N/A object N/A __init__ N/A N/A self N/A N/A N/A N/A self log N/A N/A __call__ N/A N/A self db_field N/A kwargs N/A N/A N/A N/A N/A self log append N/A db_field kwargs N/A N/A N/A db_field formfield kwargs N/A N/A FormfieldCallbackTests N/A TestCase N/A N/A 
    Regression for #13095 and #17683: Using base forms with widgets
    defined in Meta should not raise errors and BaseModelForm should respect
    the specified pk widget.
     test_inlineformset_factory_default N/A N/A self N/A N/A N/A Formset N/A inlineformset_factory User UserSite form UserSiteForm fields __all__ N/A form N/A N/A N/A Formset forms N/A 0 N/A N/A N/A self assertIsInstance N/A N/A N/A form N/A id field widget CustomWidget N/A N/A N/A self assertIsInstance N/A N/A N/A form N/A data field widget CustomWidget N/A N/A N/A self assertFalse N/A N/A N/A form fields N/A id localize N/A N/A N/A self assertTrue N/A N/A N/A form fields N/A data localize N/A test_modelformset_factory_default N/A N/A self N/A N/A N/A Formset N/A modelformset_factory UserSite form UserSiteForm N/A form N/A N/A N/A Formset forms N/A 0 N/A N/A N/A self assertIsInstance N/A N/A N/A form N/A id field widget CustomWidget N/A N/A N/A self assertIsInstance N/A N/A N/A form N/A data field widget CustomWidget N/A N/A N/A self assertFalse N/A N/A N/A form fields N/A id localize N/A N/A N/A self assertTrue N/A N/A N/A form fields N/A data localize N/A assertCallbackCalled N/A N/A self callback N/A N/A N/A N/A id_field user_field data_field N/A N/A UserSite _meta fields N/A expected_log N/A N/A id_field N/A widget CustomWidget N/A user_field N/A N/A data_field N/A widget localize CustomWidget True N/A N/A N/A self assertEqual N/A callback log expected_log N/A test_inlineformset_custom_callback N/A N/A self N/A N/A N/A callback N/A Callback N/A N/A inlineformset_factory User UserSite form UserSiteForm formfield_callback callback fields __all__ N/A N/A N/A self assertCallbackCalled callback N/A test_modelformset_custom_callback N/A N/A self N/A N/A N/A callback N/A Callback N/A N/A modelformset_factory UserSite form UserSiteForm formfield_callback callback N/A N/A N/A self assertCallbackCalled callback N/A N/A BaseCustomDeleteFormSet N/A BaseFormSet N/A N/A 
    A formset mix-in that lets a form decide if it's to be deleted.
    Works for BaseFormSets. Also works for ModelFormSets with #14099 fixed.

    form.should_delete() is called. The formset delete field is also suppressed.
     add_fields N/A N/A self form index N/A N/A N/A N/A N/A N/A super BaseCustomDeleteFormSet self add_fields form index N/A N/A self can_delete True N/A N/A DELETION_FIELD_NAME N/A form fields N/A N/A N/A N/A form fields N/A DELETION_FIELD_NAME N/A _should_delete_form N/A N/A self form N/A N/A N/A N/A N/A hasattr form should_delete N/A N/A form should_delete N/A N/A FormfieldShouldDeleteFormTests N/A TestCase N/A N/A 
    Regression for #14099: BaseModelFormSet should use ModelFormSet method _should_delete_form
     BaseCustomDeleteModelFormSet N/A BaseModelFormSet BaseCustomDeleteFormSet N/A N/A  Model FormSet with CustomDelete MixIn  N/A CustomDeleteUserForm N/A N/A forms ModelForm N/A N/A  A model form with a 'should_delete' method  Meta N/A N/A N/A model User N/A fields __all__ N/A should_delete N/A N/A self N/A N/A N/A  delete form if odd PK  N/A N/A N/A N/A N/A self instance pk 2 0 N/A N/A N/A NormalFormset N/A modelformset_factory User form CustomDeleteUserForm can_delete True N/A DeleteFormset N/A modelformset_factory User form CustomDeleteUserForm formset BaseCustomDeleteModelFormSet N/A data N/A form-TOTAL_FORMS form-INITIAL_FORMS form-MAX_NUM_FORMS form-0-username form-0-serial form-1-username form-1-serial form-2-username form-2-serial form-3-username form-3-serial 4 0 4 John 1 Paul 2 George 3 Ringo 5 N/A delete_all_ids N/A form-0-DELETE form-1-DELETE form-2-DELETE form-3-DELETE 1 1 1 1 test_init_database N/A N/A self N/A N/A N/A  Add test data to database via formset  N/A formset N/A N/A self NormalFormset N/A self data N/A N/A N/A self assertTrue N/A N/A formset is_valid N/A N/A N/A self assertEqual N/A len N/A N/A formset save 4 N/A test_no_delete N/A N/A self N/A N/A N/A  Verify base formset doesn't modify database  N/A N/A N/A self test_init_database N/A data N/A dict N/A self data N/A N/A data N/A form-INITIAL_FORMS 4 N/A N/A N/A data update N/A N/A form-%d-id i N/A user pk N/A N/A i user N/A enumerate N/A N/A N/A User objects all N/A formset N/A N/A self NormalFormset data queryset N/A N/A N/A User objects all N/A N/A N/A self assertTrue N/A N/A formset is_valid N/A N/A N/A self assertEqual N/A len N/A N/A formset save 0 N/A N/A N/A self assertEqual N/A len N/A N/A N/A User objects all 4 N/A test_all_delete N/A N/A self N/A N/A N/A  Verify base formset honors DELETE field  N/A N/A N/A self test_init_database N/A data N/A dict N/A self data N/A N/A data N/A form-INITIAL_FORMS 4 N/A N/A N/A data update N/A N/A form-%d-id i N/A user pk N/A N/A i user N/A enumerate N/A N/A N/A User objects all N/A N/A N/A data update N/A self delete_all_ids N/A formset N/A N/A self NormalFormset data queryset N/A N/A N/A User objects all N/A N/A N/A self assertTrue N/A N/A formset is_valid N/A N/A N/A self assertEqual N/A len N/A N/A formset save 0 N/A N/A N/A self assertEqual N/A len N/A N/A N/A User objects all 0 N/A test_custom_delete N/A N/A self N/A N/A N/A  Verify DeleteFormset ignores DELETE field and uses form method  N/A N/A N/A self test_init_database N/A data N/A dict N/A self data N/A N/A data N/A form-INITIAL_FORMS 4 N/A N/A N/A data update N/A N/A form-%d-id i N/A user pk N/A N/A i user N/A enumerate N/A N/A N/A User objects all N/A N/A N/A data update N/A self delete_all_ids N/A formset N/A N/A self DeleteFormset data queryset N/A N/A N/A User objects all N/A N/A N/A self assertTrue N/A N/A formset is_valid N/A N/A N/A self assertEqual N/A len N/A N/A formset save 0 N/A N/A N/A self assertEqual N/A len N/A N/A N/A User objects all 2 N/A odd_ids N/A N/A user pk N/A user N/A N/A N/A User objects all N/A N/A user pk 2 N/A N/A N/A self assertEqual N/A len odd_ids 0 N/A N/A RedeleteTests N/A TestCase N/A test_resubmit N/A N/A self N/A N/A N/A u N/A N/A N/A User objects create username foo serial 1 N/A us N/A N/A N/A UserSite objects create user u data 7 N/A formset_cls N/A inlineformset_factory User UserSite fields __all__ N/A data N/A serial username usersite_set-TOTAL_FORMS usersite_set-INITIAL_FORMS usersite_set-MAX_NUM_FORMS usersite_set-0-id usersite_set-0-data usersite_set-0-user usersite_set-0-DELETE 1 foo 1 1 1 N/A N/A six text_type N/A us pk 7 foo 1 N/A formset N/A formset_cls data instance u N/A N/A N/A self assertTrue N/A N/A formset is_valid N/A N/A N/A formset save N/A N/A N/A self assertEqual N/A N/A N/A UserSite objects count 0 N/A formset N/A formset_cls data instance u N/A N/A N/A self assertTrue N/A N/A formset is_valid N/A N/A N/A formset save N/A N/A N/A self assertEqual N/A N/A N/A UserSite objects count 0 N/A test_delete_already_deleted N/A N/A self N/A N/A N/A u N/A N/A N/A User objects create username foo serial 1 N/A us N/A N/A N/A UserSite objects create user u data 7 N/A formset_cls N/A inlineformset_factory User UserSite fields __all__ N/A data N/A serial username usersite_set-TOTAL_FORMS usersite_set-INITIAL_FORMS usersite_set-MAX_NUM_FORMS usersite_set-0-id usersite_set-0-data usersite_set-0-user usersite_set-0-DELETE 1 foo 1 1 1 N/A N/A six text_type N/A us pk 7 foo 1 N/A formset N/A formset_cls data instance u N/A N/A N/A us delete N/A N/A N/A self assertTrue N/A N/A formset is_valid N/A N/A N/A formset save N/A N/A N/A self assertEqual N/A N/A N/A UserSite objects count 0 N/A N/A