mirror of
https://github.com/retspen/webvirtcloud
synced 2025-07-31 12:41:08 +00:00
add details for local socket
This commit is contained in:
parent
fc56e66555
commit
b6350e134e
6 changed files with 24 additions and 4 deletions
|
|
@ -149,6 +149,8 @@ class ComputeEditHostForm(forms.Form):
|
|||
class ComputeAddSocketForm(forms.Form):
|
||||
name = forms.CharField(error_messages={'required': _('No hostname has been entered')},
|
||||
max_length=20)
|
||||
details = forms.CharField(error_messages={'required': _('No details has been entred')},
|
||||
max_length=50)
|
||||
|
||||
def clean_name(self):
|
||||
name = self.cleaned_data['name']
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue