Exemple #1
0
 def clean_name(self):
     self.instance.name = self.cleaned_data['name']
     return check_ascii(self.instance.name)
Exemple #2
0
 def clean_comment(self):
     self.instance.comment = self.cleaned_data['comment']
     return check_ascii(self.instance.comment)
Exemple #3
0
 def clean_location(self):
     self.instance.location = self.cleaned_data['location']
     return check_ascii(self.instance.location)
Exemple #4
0
 def clean_name(self):
     self.instance.name = self.cleaned_data['name']
     return check_ascii(self.instance.name)
Exemple #5
0
 def clean_comment(self):
     self.instance.comment = self.cleaned_data['comment']
     return check_ascii(self.instance.comment)
Exemple #6
0
 def clean_location(self):
     self.instance.location = self.cleaned_data['location']
     return check_ascii(self.instance.location)