Exemplo n.º 1
0
 def clean_name(self):
     name = self.cleaned_data.get('name')
     validate_hostname(name, supports_wildcard=True)
     return name
Exemplo n.º 2
0
 def clean_content(self):
     content = self.cleaned_data.get('content')
     validate_hostname(content)
     return content
Exemplo n.º 3
0
 def clean_name(self):
     name = self.cleaned_data.get('name')
     validate_hostname(name, reject_ip=False, supports_cidr_notation=True)
     return name
Exemplo n.º 4
0
 def clean_target(self):
     target = self.cleaned_data.get('target')
     validate_hostname(target)
     return target
Exemplo n.º 5
0
 def clean_name(self):
     name = self.cleaned_data.get('name')
     validate_hostname(name)
     return name
Exemplo n.º 6
0
 def clean_primary(self):
     primary = self.cleaned_data.get('primary')
     validate_hostname(primary)
     return primary