django-gfiles views¶
-
class
gfiles.views.
GFileCreateView
(**kwargs)[source]¶ Class to create a save a generic file using the GenericFile model.
Inherits the CreateView class and uses the LoginRequiredMixin
-
form_class
¶ alias of
gfiles.forms.GFileForm
-
model
¶ alias of
gfiles.models.GenericFile
-
-
class
gfiles.views.
GFileListView
(**kwargs)[source]¶ 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
gfiles.filter.GFileFilter
-
model
¶ alias of
gfiles.models.GenericFile
-
table_class
¶ alias of
gfiles.tables.GFileTableWithCheck
-