Module Import alias Import alias Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias Assign NameStore Call NameLoad ClassDef bases NameLoad body Assign NameStore Str FunctionDef arguments args NameParam defaults kwarg body Assign NameStore Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad Assign SubscriptStore NameLoad Index Str Call NameLoad NameLoad Str NameLoad Return NameLoad decorator_list decorator_list FunctionDef arguments args NameParam NameParam defaults body If Call NameLoad SubscriptLoad NameLoad Index Str NameLoad body Assign SubscriptStore NameLoad Index Str Call NameLoad SubscriptLoad NameLoad Index Str Assign NameStore Num For NameStore SubscriptLoad NameLoad Index Str body If Call NameLoad NameLoad NameLoad body Assign SubscriptStore SubscriptLoad NameLoad Index Str Index NameLoad SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Index Num orelse If BoolOpOr Call NameLoad NameLoad NameLoad Call NameLoad NameLoad NameLoad body Assign SubscriptStore SubscriptLoad NameLoad Index Num Index Str NameLoad Expr Call NameLoad SubscriptLoad NameLoad Index Num NameLoad AugAssignAdd NameStore Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad Str NameLoad If NameLoad body For TupleStore NameStore NameStore AttributeLoad NameLoad attr body Expr Call NameLoad NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If BoolOpAnd BoolOpOr Call NameLoad NameLoad Str NameLoad Call NameLoad NameLoad Str NameLoad Call NameLoad NameLoad Str NameLoad body If Call NameLoad Str body Assign NameStore Call NameLoad Str Assign NameStore Call NameLoad BoolOpOr Call NameLoad NameLoad Str NameLoad Str NameLoad Call NameLoad NameLoad Str ListLoad AttributeLoad NameLoad attr Assign NameStore Dict Str Str BoolOpOr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr orelse Expr Call NameLoad BoolOpOr Call NameLoad NameLoad Str NameLoad Str Call NameLoad NameLoad Call NameLoad NameLoad Str ListLoad AttributeLoad NameLoad attr keyword NameLoad decorator_list ClassDef bases NameLoad NameLoad body FunctionDef arguments args NameParam defaults vararg kwarg body Return Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad decorator_list Call NameLoad NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad body Assign NameStore Call NameLoad NameLoad keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad If UnaryOpNot NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad keyword NameLoad Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Str Str AttributeLoad NameLoad attr Slice Num Assign NameStore ListLoad Assign NameStore ListLoad For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If NameLoad body If CompareEq NameLoad Str body Return Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad orelse Return Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad orelse Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults body If CompareEq NameLoad Str body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Call NameLoad Call AttributeLoad NameLoad attr orelse Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Call NameLoad Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr If Call NameLoad NameLoad Str NameLoad body If AttributeLoad NameLoad attr body Expr Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults vararg kwarg body Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad NameLoad attr Str If Call NameLoad NameLoad Str NameLoad body ImportFrom alias Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore AttributeLoad NameLoad attr Return Call NameLoad Call AttributeLoad NameLoad attr Dict Str NameLoad keyword Str orelse Return Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword NameLoad decorator_list decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad keyword NameLoad Assign NameStore AttributeLoad NameLoad attr If CompareIn NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr orelse Assign NameStore NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Return Call NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad keyword NameLoad Assign NameStore Call NameLoad NameLoad keyword TupleLoad TupleLoad Str Call AttributeLoad Str attr AttributeLoad NameLoad attr TupleLoad Str AttributeLoad NameLoad attr TupleLoad Str AttributeLoad NameLoad attr For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Return Call NameLoad NameLoad decorator_list NameLoad ClassDef bases NameLoad NameLoad body Expr Str Assign NameStore Str FunctionDef arguments args NameParam defaults kwarg body Assign NameStore Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad Assign SubscriptStore NameLoad Index Str Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Str Assign NameStore Call AttributeLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Str attr Str Assign SubscriptStore NameLoad Index Str Call AttributeLoad Str attr Call NameLoad NameLoad NameLoad Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str Call NameLoad NameLoad Assign SubscriptStore NameLoad Index Str Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad attr Str Assign SubscriptStore NameLoad Index Str AttributeLoad AttributeLoad Call AttributeLoad NameLoad attr attr attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults vararg kwarg body If CompareIn Str AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore Call AttributeLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Str attr Str Assign NameStore Call NameLoad NameLoad keyword SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore Call AttributeLoad AttributeLoad Call AttributeLoad NameLoad attr attr attr keyword NameLoad Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword NameLoad keyword Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str ImportFrom alias Assign NameStore Call NameLoad NameLoad Assign NameStore Str If CompareEq AttributeLoad NameLoad attr Str body Assign NameStore Call NameLoad NameLoad keyword NameLoad Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Return Call NameLoad Call AttributeLoad NameLoad attr Dict Str Str Str AttributeLoad NameLoad attr NameLoad Call NameLoad NameLoad Str NameLoad keyword Str decorator_list NameLoad
N/A N/A datetime N/A re N/A copy N/A json django.contrib.contenttypes.models ContentType django.conf settings django.core.mail send_mail EmailMultiAlternatives django.core.files.base ContentFile django.contrib.admin.views.decorators staff_member_required django.contrib.auth get_user_model django.template.loader get_template django.template Context django.http HttpResponse django.shortcuts redirect get_object_or_404 django.utils.decorators method_decorator django.views.generic TemplateView View six string_types utils duplicate models Report report_utils.mixins DataExportMixin generate_filename N/A User N/A get_user_model ReportSPAView N/A TemplateView N/A N/A template_name report_builder/spa.html get_context_data N/A N/A self N/A kwargs N/A N/A context N/A N/A N/A super ReportSPAView self get_context_data kwargs N/A N/A context N/A ASYNC_REPORT N/A getattr settings REPORT_BUILDER_ASYNC_REPORT False N/A context N/A N/A fieldset_string_to_field N/A N/A fieldset_dict model N/A N/A N/A N/A isinstance N/A fieldset_dict N/A fields tuple N/A N/A N/A fieldset_dict N/A fields N/A list N/A fieldset_dict N/A fields N/A i 0 N/A dict_field N/A fieldset_dict N/A fields N/A N/A N/A isinstance dict_field string_types N/A N/A N/A N/A fieldset_dict N/A fields N/A i N/A N/A N/A N/A model _meta get_field_by_name dict_field N/A 0 N/A N/A N/A N/A isinstance dict_field list N/A isinstance dict_field tuple N/A N/A N/A N/A dict_field N/A 1 N/A recursive True N/A N/A fieldset_string_to_field N/A dict_field N/A 1 model N/A i 1 N/A get_fieldsets N/A N/A model N/A N/A N/A  fieldsets are optional, they are defined in the Model.
     N/A fieldsets N/A getattr model report_builder_fieldsets None N/A fieldsets N/A N/A N/A fieldset_name fieldset_dict N/A model report_builder_fieldsets N/A N/A N/A fieldset_string_to_field fieldset_dict model N/A fieldsets N/A email_report N/A N/A report_url user N/A N/A N/A N/A N/A N/A getattr settings EMAIL_BACKEND False N/A getattr settings EMAIL_HOST False N/A getattr settings DEFAULT_FROM_EMAIL False N/A N/A N/A get_template email/email_report.html N/A N/A email_template N/A get_template email/email_report.html N/A msg N/A EmailMultiAlternatives N/A N/A getattr settings REPORT_BUILDER_EMAIL_SUBJECT False Report is ready report_url N/A getattr settings DEFAULT_FROM_EMAIL N/A N/A user email N/A htmlParameters N/A name report N/A N/A user first_name N/A user username report_url N/A N/A N/A msg attach_alternative N/A N/A email_template render N/A Context htmlParameters text/html N/A N/A N/A msg send N/A N/A N/A send_mail N/A N/A getattr settings REPORT_BUILDER_EMAIL_SUBJECT False Report is ready N/A str report_url N/A getattr settings DEFAULT_FROM_EMAIL N/A N/A user email fail_silently True N/A DownloadFileView N/A DataExportMixin View N/A dispatch N/A N/A self N/A args kwargs N/A N/A N/A N/A N/A super DownloadFileView self dispatch args kwargs N/A N/A method_decorator staff_member_required process_report N/A N/A self report_id user_id file_type to_response queryset N/A None N/A N/A report N/A get_object_or_404 Report pk report_id N/A user N/A N/A N/A User objects get pk user_id N/A N/A queryset N/A N/A queryset N/A N/A report get_query N/A display_fields N/A N/A report get_good_display_fields N/A N/A objects_list message N/A N/A self report_to_list queryset display_fields user preview False N/A title N/A N/A N/A re sub \W+ N/A report name N/A 30 N/A header N/A N/A widths N/A N/A field display_fields N/A N/A N/A N/A header append N/A field name N/A N/A N/A widths append N/A field width N/A to_response N/A N/A N/A file_type csv N/A N/A N/A N/A self list_to_csv_response objects_list title header widths N/A N/A N/A N/A self list_to_xlsx_response objects_list title header widths N/A N/A N/A N/A self async_report_save report objects_list title header widths user file_type N/A async_report_save N/A N/A self report objects_list title header widths user file_type N/A N/A N/A N/A file_type csv N/A N/A csv_file N/A N/A self list_to_csv_file objects_list title header widths N/A title N/A generate_filename title .csv N/A N/A N/A N/A report report_file save title N/A ContentFile N/A N/A csv_file getvalue N/A N/A xlsx_file N/A N/A self list_to_xlsx_file objects_list title header widths N/A title N/A generate_filename title .xlsx N/A N/A N/A N/A report report_file save title N/A ContentFile N/A N/A xlsx_file getvalue N/A N/A report report_file_creation N/A N/A N/A datetime datetime today N/A N/A N/A report save N/A N/A getattr settings REPORT_BUILDER_EMAIL_NOTIFICATION False N/A N/A N/A user email N/A N/A N/A email_report N/A N/A report report_file url user N/A get N/A N/A self request N/A args kwargs N/A N/A report_id N/A kwargs N/A pk N/A file_type N/A N/A kwargs get filetype N/A N/A getattr settings REPORT_BUILDER_ASYNC_REPORT False N/A tasks report_builder_file_async_report_save N/A report_task N/A N/A report_builder_file_async_report_save delay report_id N/A N/A request user pk file_type N/A task_id N/A report_task task_id N/A N/A HttpResponse N/A N/A json dumps N/A task_id task_id content_type application/json N/A N/A N/A N/A self process_report report_id N/A N/A request user pk file_type to_response True N/A N/A ajax_add_star N/A N/A request pk N/A N/A N/A  Star or unstar report for user
     N/A report N/A get_object_or_404 Report pk pk N/A user N/A request user N/A N/A user N/A N/A N/A report starred all N/A N/A added False N/A N/A N/A N/A report starred remove N/A request user N/A N/A added True N/A N/A N/A N/A report starred add N/A request user N/A N/A HttpResponse added N/A staff_member_required create_copy N/A N/A request pk N/A N/A N/A  Copy a report including related fields  N/A report N/A get_object_or_404 Report pk pk N/A new_report N/A duplicate report changes N/A N/A name N/A N/A {0} (copy) format N/A report name N/A user_created N/A request user N/A user_modified N/A request user N/A display N/A N/A N/A report displayfield_set all N/A N/A new_display N/A N/A copy copy display N/A N/A new_display pk None N/A N/A new_display report new_report N/A N/A N/A new_display save N/A report_filter N/A N/A N/A report filterfield_set all N/A N/A new_filter N/A N/A copy copy report_filter N/A N/A new_filter pk None N/A N/A new_filter report new_report N/A N/A N/A new_filter save N/A N/A redirect new_report N/A staff_member_required ExportToReport N/A DownloadFileView TemplateView N/A N/A  Export objects (by ID and content type) to an existing or new report
    In effect this runs the report with it's display fields. It ignores
    filters and filters instead the provided ID's. It can be select
    as a global admin action.
     N/A template_name report_builder/export_to_report.html get_context_data N/A N/A self N/A kwargs N/A N/A ctx N/A N/A N/A super ExportToReport self get_context_data kwargs N/A N/A ctx N/A admin_url N/A N/A N/A N/A self request GET get admin_url / N/A ct N/A N/A N/A ContentType objects get_for_id N/A N/A N/A self request GET N/A ct N/A ids N/A N/A N/A N/A N/A self request GET N/A ids split , N/A N/A ctx N/A ids N/A N/A , join N/A map str ids N/A N/A ctx N/A ct N/A ct id N/A N/A ctx N/A number_objects N/A len ids N/A N/A ctx N/A object_list N/A N/A N/A N/A N/A Report objects filter root_model ct order_by -modified N/A N/A ctx N/A mode N/A N/A N/A N/A ct model_class _meta verbose_name N/A ctx N/A get N/A N/A self request N/A args kwargs N/A N/A N/A download N/A request GET N/A N/A ct N/A N/A N/A ContentType objects get_for_id N/A N/A request GET N/A ct N/A ids N/A N/A N/A N/A N/A self request GET N/A ids split , N/A report N/A get_object_or_404 Report pk N/A N/A request GET N/A download N/A queryset N/A N/A N/A N/A N/A ct model_class objects filter pk__in ids N/A N/A N/A self process_report N/A report id N/A N/A request user pk to_response True queryset queryset file_type xlsx N/A context N/A N/A self get_context_data kwargs N/A N/A N/A self render_to_response context N/A N/A check_status N/A N/A request pk task_id N/A N/A N/A  Check if the asyncronous report is ready to download  celery.result AsyncResult N/A res N/A AsyncResult task_id N/A link N/A N/A N/A res state SUCCESS N/A N/A report N/A get_object_or_404 Report pk pk N/A link N/A N/A report report_file url N/A N/A HttpResponse N/A N/A json dumps N/A state link email N/A res state link N/A getattr settings REPORT_BUILDER_EMAIL_NOTIFICATION False content_type application/json N/A staff_member_required