mirror of
https://github.com/RobbieHan/sandboxMP.git
synced 2026-04-13 14:59:48 +08:00
modify cmdb models
This commit is contained in:
@@ -52,8 +52,6 @@ class DeviceCreateForm(forms.ModelForm):
|
||||
exclude = ['dev_connection']
|
||||
error_messages = {
|
||||
'hostname': {'required': '请填写设备地址'},
|
||||
'buyDate': {'required': '请填写购买日期'},
|
||||
'warrantyDate': {'required': '请填写到保日期'}
|
||||
}
|
||||
|
||||
def clean(self):
|
||||
|
||||
Reference in New Issue
Block a user