Module Import alias Import alias Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore CompareGtE Call AttributeLoad Call NameLoad attr Str ListLoad Str Str ClassDef bases NameLoad body Assign NameStore NameLoad Assign NameStore Str FunctionDef arguments args NameParam NameParam defaults vararg kwarg body Expr Str If Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr body Return Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Assign NameStore AttributeLoad Call NameLoad NameLoad NameLoad attr Assign NameStore Call NameLoad NameLoad Return Call NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults vararg kwarg body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr If UnaryOpNot NameLoad body Return Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr If UnaryOpNot AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr ImportFrom alias If Call NameLoad NameLoad AttributeLoad NameLoad attr body Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Index Str For NameStore NameLoad body If Call NameLoad NameLoad TupleLoad NameLoad NameLoad body Assign NameStore SubscriptLoad NameLoad Index Num If CompareEq NameLoad NameLoad body Break orelse Return Call NameLoad Str orelse If CompareNotIn NameLoad SubscriptLoad AttributeLoad Call AttributeLoad NameLoad attr attr Index Str body Return Call NameLoad Str Assign NameStore SubscriptLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Index Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Return Call NameLoad Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults vararg kwarg body Expr Str Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr If Call AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareIs NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Dict Str Str Str Str Return Call NameLoad NameLoad keyword Str keyword Num Return Call AttributeLoad NameLoad attr NameLoad NameLoad orelse Assign NameStore Call AttributeLoad NameLoad attr Dict Str Str Str Str Str AttributeLoad NameLoad attr Return Call NameLoad NameLoad keyword Str keyword Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Dict Str AttributeLoad Call AttributeLoad NameLoad attr attr If CompareIn AttributeLoad AttributeLoad NameLoad attr attr TupleLoad Str Str body Expr Call AttributeLoad NameLoad attr Dict Str AttributeLoad AttributeLoad NameLoad attr attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call NameLoad Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore Call AttributeLoad NameLoad attr TryExcept body Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad handlers ExceptHandler type AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Expr Call NameLoad NameLoad NameLoad NameLoad Assign NameStore Dict If NameLoad body Assign SubscriptStore NameLoad Index Str ListLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Dict Str Str Return Call NameLoad NameLoad keyword Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str If Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str body Assign NameStore ListLoad Str Str orelse Assign NameStore ListLoad Str Str Assign NameStore Call NameLoad NameLoad Str NameLoad If CompareIs NameLoad NameLoad body If Call NameLoad NameLoad NameLoad body Assign NameStore AttributeLoad NameLoad attr orelse Assign NameStore AttributeLoad NameLoad attr Return ListComp Call NameLoad Call NameLoad NameLoad NameLoad comprehension NameStore Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Dict If UnaryOpNot AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Return AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad NameLoad body Pass decorator_list
N/A N/A json N/A re N/A operator N/A logging forms XEditableUpdateForm base DatatableView django get_version django.http HttpResponse HttpResponseBadRequest django.views.decorators.csrf ensure_csrf_cookie django.db.models ForeignKey N/A log N/A N/A logging getLogger __name__ N/A CAN_UPDATE_FIELDS N/A N/A N/A N/A get_version split . N/A 1 5 XEditableMixin N/A object N/A N/A xeditable_form_class XEditableUpdateForm N/A xeditable_fieldname_param xeditable_field get N/A N/A self request N/A args kwargs N/A N/A  Introduces the ``ensure_csrf_cookie`` decorator and handles xeditable choices ajax.  N/A N/A N/A N/A request GET get N/A self xeditable_fieldname_param N/A N/A N/A N/A self get_ajax_xeditable_choices request args kwargs N/A method N/A N/A super XEditableMixin self get N/A method N/A ensure_csrf_cookie method N/A N/A method request args kwargs N/A get_ajax_xeditable_choices N/A N/A self request N/A args kwargs N/A N/A  AJAX GET handler for xeditable queries asking for field choice lists.  N/A field_name N/A N/A N/A request GET get N/A self xeditable_fieldname_param N/A N/A field_name N/A N/A N/A HttpResponseBadRequest Field name must be given N/A queryset N/A N/A self get_queryset N/A N/A N/A self model N/A N/A N/A self model N/A queryset model datatableview.views legacy N/A N/A isinstance self N/A legacy LegacyDatatableMixin N/A N/A columns N/A N/A N/A self _get_datatable_options N/A columns N/A name columns N/A N/A N/A isinstance name N/A list tuple N/A N/A name N/A name N/A 1 N/A N/A name field_name N/A N/A N/A N/A N/A HttpResponseBadRequest Invalid field name N/A N/A N/A field_name N/A N/A N/A N/A self get_datatable config N/A columns N/A N/A N/A HttpResponseBadRequest Invalid field name N/A field N/A N/A N/A N/A N/A self model _meta get_field_by_name field_name N/A 0 N/A choices N/A N/A self get_field_choices field field_name N/A N/A HttpResponse N/A N/A json dumps choices N/A post N/A N/A self request N/A args kwargs N/A N/A 
        Builds a dynamic form that targets only the field in question, and saves the modification.
         N/A N/A self object_list None N/A form N/A N/A self get_xeditable_form N/A N/A self get_xeditable_form_class N/A N/A N/A form is_valid N/A N/A obj N/A N/A self get_update_object form N/A N/A obj None N/A N/A data N/A N/A json dumps N/A status message error Object does not exist. N/A N/A HttpResponse data content_type application/json status 404 N/A N/A N/A self update_object form obj N/A N/A data N/A N/A json dumps N/A status message form_errors error Invalid request N/A form errors N/A N/A HttpResponse data content_type application/json status 400 N/A get_xeditable_form_class N/A N/A self N/A N/A N/A  Returns ``self.xeditable_form_class``.  N/A N/A self xeditable_form_class N/A get_xeditable_form_kwargs N/A N/A self N/A N/A N/A  Returns a dict of keyword arguments to be sent to the xeditable form class.  N/A kwargs N/A model N/A N/A N/A self get_queryset model N/A N/A N/A N/A self request method N/A POST PUT N/A N/A N/A N/A kwargs update N/A data N/A N/A self request POST N/A kwargs N/A get_xeditable_form N/A N/A self form_class N/A N/A N/A  Builds xeditable form computed from :py:meth:`.get_xeditable_form_class`.  N/A N/A form_class N/A N/A self get_xeditable_form_kwargs N/A get_update_object N/A N/A self form N/A N/A N/A 
        Retrieves the target object based on the update form's ``pk`` and the table's queryset.
         N/A pk N/A N/A form cleaned_data N/A pk N/A queryset N/A N/A self get_queryset N/A N/A N/A obj N/A N/A queryset get pk pk N/A N/A N/A N/A N/A queryset model DoesNotExist N/A N/A obj None N/A obj N/A update_object N/A N/A self form obj N/A N/A N/A  Saves the new value to the target object.  N/A field_name N/A N/A form cleaned_data N/A name N/A value N/A N/A form cleaned_data N/A value N/A N/A setattr obj field_name value N/A save_kwargs N/A N/A CAN_UPDATE_FIELDS N/A N/A N/A save_kwargs N/A update_fields N/A field_name N/A N/A N/A obj save save_kwargs N/A data N/A N/A json dumps N/A status success N/A N/A HttpResponse data content_type application/json N/A get_field_choices N/A N/A self field field_name N/A N/A N/A 
        Returns the valid choices for ``field``.  The ``field_name`` argument is given for
        convenience.
         N/A N/A N/A N/A N/A self request GET get select2 N/A N/A names N/A id text N/A N/A names N/A value text N/A choices_getter N/A getattr self get_field_%s_choices None N/A N/A choices_getter None N/A N/A N/A isinstance field ForeignKey N/A N/A choices_getter N/A self _get_foreignkey_choices N/A N/A choices_getter N/A self _get_default_choices N/A N/A N/A dict N/A zip names choice N/A choice N/A choices_getter field field_name N/A _get_foreignkey_choices N/A N/A self field field_name N/A N/A N/A formfield_kwargs N/A N/A N/A N/A field blank N/A N/A N/A formfield_kwargs N/A empty_label None N/A formfield N/A N/A field formfield formfield_kwargs N/A N/A formfield choices N/A _get_default_choices N/A N/A self field field_name N/A N/A N/A N/A field choices N/A N/A XEditableDatatableView N/A XEditableMixin DatatableView N/A N/A N/A