Little silly fixes in text

This commit is contained in:
Antonio de la Rosa 2016-03-14 14:32:11 +01:00
parent 27b1dc5386
commit 348b506755
5 changed files with 41 additions and 9 deletions

View file

@ -801,6 +801,17 @@ class WebModel:
self.forms=new_dict
def show_errors(self):
error_txt=''
for k_error in self.fields_errors.values():
for error in k_error:
error_txt+=error+"\n"
return error_txt
@staticmethod
def close():
WebModel.make_connection=SqlClass.connect_to_db