various updates and changes, move admin widgets into different seperate dialogs

This commit is contained in:
WorldTeacher
2024-08-08 14:40:38 +02:00
parent ee8862a220
commit fba35cdf25
32 changed files with 2175 additions and 2594 deletions

View File

@@ -21,7 +21,7 @@ class ApparatData:
def get_prof_details(self) -> dict:
return {
"prof_title": self.prof_title,
"title": self.prof_title,
"profname": self.profname,
"prof_mail": self.prof_mail,
"prof_tel": self.prof_tel,
@@ -62,7 +62,7 @@ class BookData:
else:
pattern = r"(\w+)='([^']*)'"
data_dict = dict(re.findall(pattern, data))
print(data_dict)
# print(data_dict)
for key, value in data_dict.items():
setattr(self, key, value)
return self