예제 #1
0
파일: forms.py 프로젝트: ISI-MIP/isimip
 class Meta:
     model = WaterRegional
     exclude = ('impact_model', )
     widgets = {
         "methods_evapotranspiration": MyTextInput(textarea=True),
         'methods_snowmelt': MyTextInput(textarea=True),
         'vegetation': MyBooleanSelect(nullable=True),
         'vegetation_approach_used': MyTextInput(textarea=True),
         'vegetation_representation': MyMultiSelect(allowcustom=False),
         'routing': MyTextInput(textarea=True),
         'routing_data': MyTextInput(textarea=True),
         'calibration': MyBooleanSelect(nullable=True),
         'calibration_model_evaluated': MyBooleanSelect(nullable=True),
         'calibration_periods': MyTextInput(textarea=True),
         'calibration_methods': MyTextInput(textarea=True),
     }
예제 #2
0
파일: forms.py 프로젝트: ISI-MIP/isimip
 class Meta:
     model = Water
     exclude = ('impact_model', )
     widgets = {
         'technological_progress': MyTextInput(textarea=True),
         'soil_layers': MyTextInput(textarea=True),
         'water_use': MyTextInput(textarea=True),
         'water_sectors': MyTextInput(textarea=True),
         'routing': MyTextInput(textarea=True),
         'routing_data': MyTextInput(textarea=True),
         'land_use': MyTextInput(textarea=True),
         'dams_reservoirs': MyTextInput(textarea=True),
         'calibration': MyBooleanSelect(nullable=True),
         'calibration_years': MyTextInput(),
         'calibration_dataset': MyTextInput(),
         'calibration_catchments': MyTextInput(),
         'vegetation': MyBooleanSelect(nullable=True),
         'vegetation_representation': MyTextInput(textarea=True),
         "methods_evapotranspiration": MyTextInput(textarea=True),
         'methods_snowmelt': MyTextInput(textarea=True),
     }
예제 #3
0
파일: forms.py 프로젝트: ISI-MIP/isimip
 class Meta:
     model = OtherInformation
     exclude = ('impact_model', )
     widgets = {
         'exceptions_to_protocol': MyTextInput(textarea=True),
         'spin_up': MyBooleanSelect(nullable=False),
         'spin_up_design': MyTextInput(textarea=True),
         'natural_vegetation_partition': MyTextInput(textarea=True),
         'natural_vegetation_dynamics': MyTextInput(textarea=True),
         'natural_vegetation_cover_dataset': MyTextInput(),
         'management': MyTextInput(textarea=True),
         'extreme_events': MyTextInput(textarea=True),
         'anything_else': MyTextInput(textarea=True),
     }