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