Disable generations of csvs uuids

remotes/origin/enhancement/email-actions
David Barragán Merino 2015-03-09 17:28:37 +01:00
parent 25fa034e80
commit 5e184120f7
1 changed files with 0 additions and 9 deletions

View File

@ -192,15 +192,6 @@ class Project(ProjectDefaults, TaggedMixin, models.Model):
return "<Project {0}>".format(self.id)
def save(self, *args, **kwargs):
if not self._importing and not self.userstories_csv_uuid:
self.userstories_csv_uuid = uuid.uuid4().hex
if not self._importing and not self.tasks_csv_uuid:
self.tasks_csv_uuid = uuid.uuid4().hex
if not self._importing and not self.issues_csv_uuid:
self.issues_csv_uuid = uuid.uuid4().hex
if not self._importing or not self.modified_date:
self.modified_date = timezone.now()