add print information
This commit is contained in:
@@ -54,6 +54,7 @@ class caldav_sync_manager(models.Model):
|
|||||||
print("pas de copy, sync déjà fait")
|
print("pas de copy, sync déjà fait")
|
||||||
|
|
||||||
last_month = today - relativedelta(months=1)
|
last_month = today - relativedelta(months=1)
|
||||||
|
print(f"test du mois précédant: {last_month.date}")
|
||||||
o_caldav_sync_management = caldav_sync_manager.objects.filter(dtDate=last_month.date())
|
o_caldav_sync_management = caldav_sync_manager.objects.filter(dtDate=last_month.date())
|
||||||
if not o_caldav_sync_management.exists():
|
if not o_caldav_sync_management.exists():
|
||||||
self.copy_caldav_data(last_month)
|
self.copy_caldav_data(last_month)
|
||||||
|
Reference in New Issue
Block a user