Suppression prints inutiles
This commit is contained in:
parent
c1cc98ec92
commit
509a9d5379
@ -1615,7 +1615,6 @@ class Event(models.Model):
|
|||||||
|
|
||||||
# Limitation: the given events should not be considered similar one to another...
|
# Limitation: the given events should not be considered similar one to another...
|
||||||
def import_events(events, remove_missing_from_source=None, user_id=None):
|
def import_events(events, remove_missing_from_source=None, user_id=None):
|
||||||
logger.warning("aaaaaa >>>f")
|
|
||||||
user = None
|
user = None
|
||||||
if user_id:
|
if user_id:
|
||||||
user = User.objects.filter(pk=user_id).first()
|
user = User.objects.filter(pk=user_id).first()
|
||||||
@ -1629,7 +1628,6 @@ class Event(models.Model):
|
|||||||
|
|
||||||
# for each event, check if it's a new one, or a one to be updated
|
# for each event, check if it's a new one, or a one to be updated
|
||||||
for event in events:
|
for event in events:
|
||||||
logger.warning("aaaa1 >>>f")
|
|
||||||
sdate = date.fromisoformat(event.start_day)
|
sdate = date.fromisoformat(event.start_day)
|
||||||
if event.end_day:
|
if event.end_day:
|
||||||
edate = date.fromisoformat(event.end_day)
|
edate = date.fromisoformat(event.end_day)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user