class documentation
class DatasetForm(FormLoggerMixin, forms.ModelForm):
Form to create and edit datasets, based on their model definition.
Class |
|
The underlying model. |
Method | __init__ |
Undocumented |
Method | clean |
Insert current user's institution into the form's cleaned data. |
Method | save |
Get institution from user and import uploaded CSV file into database. Then lock the dataset. |
Class Variable | auto |
Fields that are not shown to the user but are automatically determined. |
Class Variable | git |
The URL of the GitHub repository that contains the data. |
Instance Variable | user |
Undocumented |