On supprime un commentaire inutile

This commit is contained in:
Jean-Marie Favreau 2024-09-06 16:04:23 +02:00
parent 14694a6d85
commit 9d672b3f40

View File

@ -452,7 +452,6 @@ class EventUpdateView(
def get_form_kwargs(self):
kwargs = super().get_form_kwargs()
logger.warning("les daaates " + str(self.get_object().modified_date) + " " + str(self.get_object().imported_date) + " " + str((self.get_object().modified_date - self.get_object().created_date).total_seconds()))
if not self.get_object().modified():
messages.warning(self.request, _("Please note that this event has not been modified since it was last updated by import. If you modify any information from this import, the event will be desynchronized with the source, and will need to be merged with each future automatic import."))