From: Guillaume Pellerin Date: Mon, 13 Nov 2017 14:51:09 +0000 (+0100) Subject: no data modif X-Git-Tag: 1.2~21 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=3af160b2f8a7063360359f4bd94973e30cde8f93;p=teleforma.git no data modif --- diff --git a/teleforma/migrations/0089_auto__add_field_period_department__del_field_course_exam_scripts__add_.py b/teleforma/migrations/0089_auto__add_field_period_department__del_field_course_exam_scripts__add_.py index ff6988b5..eee89c97 100644 --- a/teleforma/migrations/0089_auto__add_field_period_department__del_field_course_exam_scripts__add_.py +++ b/teleforma/migrations/0089_auto__add_field_period_department__del_field_course_exam_scripts__add_.py @@ -8,10 +8,6 @@ from django.db import models class Migration(SchemaMigration): def forwards(self, orm): - for profile in orm.Profile.objects.all(): - profile.address.replace('\n', ' ') - profile.save() - # Adding field 'Period.department' db.add_column('teleforma_period', 'department', self.gf('telemeta.models.core.ForeignKey')(default=None, related_name='period', null=True, blank=True, to=orm['teleforma.Department']),