--- a/server/python/django2/renkanmanager/models.py Mon Jun 20 14:44:40 2016 +0200
+++ b/server/python/django2/renkanmanager/models.py Mon Jun 20 17:50:47 2016 +0200
@@ -59,10 +59,8 @@
initial_revision.modification_date = creation_date
initial_revision.creator = creator
initial_revision.last_updated_by = creator
- logger.debug("CREATE RENKAN NEW CONTENT %r", new_renkan_content)
if new_renkan_content:
new_renkan_content_dict = json.loads(new_renkan.validate_json_content(new_renkan_content))
- logger.debug("CREATE RENKAN NEW CONTENT AFTER VALIDATE %r", new_renkan_content_dict)
new_renkan_content_dict["created"] = str(creation_date)
new_renkan_content_dict["updated"] = str(creation_date)
else:
@@ -140,7 +138,6 @@
raise ValidationError(_("Cannot save, provided timestamp is invalid"))
else:
dt_timestamp = dateparse.parse_datetime(timestamp)
- logger.debug("SAVE RENKAN create new revision %r", create_new_revision)
if create_new_revision:
revision_to_update = Revision(parent_renkan=self)