Base mixin for functionality related to importing and exporting via the Admin interface.
Return subscriptable type (list, tuple, …) containing resource classes :param request: The request object. :returns: The Resource classes.
Return the index of the resource class defined in the form.
form – The form object.
The index of the resource as an int.
Return the kwargs which are to be passed to the Resource constructor. Can be overridden to provide additional kwarg params.
request – The request object.
kwargs – Keyword arguments.
The Resource kwargs (by default, is the kwargs passed).
Identify which class should be used for import :param form: The form object. :param request: The request object. :returns: The import Resource class.
Returns available import formats.
request – The request object.
Returns ResourceClass subscriptable (list, tuple, …) to use for import.
Returns kwargs which will be passed to the Resource constructor. :param request: The request object. :param kwargs: Keyword arguments. :returns: The kwargs (dict)
If enabled, the import workflow skips the import confirm page and imports the data directly. See IMPORT_EXPORT_SKIP_ADMIN_CONFIRM.
Identify which class should be used for export :param request: The request object. :param form: The form object. :returns: The export Resource class.
Returns available export formats.
Returns ResourceClass subscriptable (list, tuple, …) to use for export. :param request: The request object. :returns: The Resource classes.
Returns kwargs which will be passed to the Resource constructor. :param request: The request object. :param kwargs: Keyword arguments. :returns: The kwargs (dict)
If enabled, the export workflow skips the export form and exports the data directly. See IMPORT_EXPORT_SKIP_ADMIN_EXPORT_UI.
If enabled, the export workflow from Admin UI action menu skips the export form and exports the data directly. See IMPORT_EXPORT_SKIP_ADMIN_ACTION_EXPORT_UI.
alias of SelectableFieldsExportForm
Returns file_format representation for given queryset.
Constructor. Called in the URLconf; can contain helpful extra keyword arguments, and other things.
If the form is valid, redirect to the supplied URL.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4