[UPDT] ATTENDANCE: Updated apps.ready function by adding try except for self.create_enable_disable_check_in() function

This commit is contained in:
Horilla
2025-01-01 14:35:06 +05:30
parent a9d375352d
commit 898520bdc4

View File

@@ -32,7 +32,10 @@ class AttendanceConfig(AppConfig):
MIDDLEWARE.append(middleware_path)
APP_URLS.append("attendance.urls") # Used to remove Dynamically Added Urls
self.create_enable_disable_check_in()
try:
self.create_enable_disable_check_in()
except:
pass
super().ready()
def create_enable_disable_check_in(self):