[UPDT] ATTENDANCE: Updated apps.ready function by adding try except for self.create_enable_disable_check_in() function
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user