django-gfiles views
- class gfiles.views.GFileCreateView(**kwargs)
Class to create a save a generic file using the GenericFile model.
Inherits the CreateView class and uses the LoginRequiredMixin
- form_class
alias of
GFileForm
- form_valid(form)
If the form is valid, save the associated model.
- model
alias of
GenericFile
- class gfiles.views.GFileListView(**kwargs)
Class to view a table and filter all of the currently saved GenericFiles
Inherits the FilterView class and uses the SingleTableMixin for viewing the django-tables2 table and uses the ExportMixin so that the table can be exported as a csv file
- filterset_class
alias of
GFileFilter
- model
alias of
GenericFile
- table_class
alias of
GFileTableWithCheck
- class gfiles.views.TrackTasksDeleteView(**kwargs)
- model
alias of
TrackTasks
- class gfiles.views.TrackTasksListView(**kwargs)
Class to view a table and filter all of the currently saved GenericFiles
Inherits the FilterView class and uses the SingleTableMixin for viewing the django-tables2 table and uses the ExportMixin so that the table can be exported as a csv file
- filterset_class
alias of
TrackTasksFilter
- get_queryset()
Return the list of items for this view.
The return value must be an iterable and may be an instance of QuerySet in which case QuerySet specific behavior will be enabled.
- model
alias of
TrackTasks
- table_class
alias of
TrackTasksTable
- class gfiles.views.TrackTasksProgressView(**kwargs)
- gfiles.views.index(request)
basic index view
- gfiles.views.status_update(request)
Updates for tracking status of long processes via celery
- gfiles.views.success(request)
basic success view