This commit is contained in:
2024-04-08 01:14:29 +02:00
parent 11e0cbe434
commit 9c66a5baf8

View File

@@ -28,7 +28,7 @@ class caldav_sync_manager(models.Model):
dtDate = models.DateField('Date_synchronized', auto_now_add=True, unique=True) dtDate = models.DateField('Date_synchronized', auto_now_add=True, unique=True)
def __str__(self): def __str__(self):
return f"{self.dtDate} => {self.bDone}" return f"{self.dtDate}"
def init_caldav(self, caldav_url, caldav_user, caldav_password): def init_caldav(self, caldav_url, caldav_user, caldav_password):
client = caldav.DAVClient(url=caldav_url, username=caldav_user, password=caldav_password) client = caldav.DAVClient(url=caldav_url, username=caldav_user, password=caldav_password)