@@ -0,0 +1,554 @@
+# -*- coding: utf-8 -*-%0Afrom __future__ import unicode_literals%0A%0Afrom django.db import models, migrations%0A%0A%0Adef strip_boundary_alias_name(apps, schema_editor):%0A    BoundaryAlias = apps.get_model('locations', 'BoundaryAlias')%0A%0A    for alias in BoundaryAlias.objects.all():%0A        name = alias.name%0A        alias.name = name.strip()%0A        alias.save()%0A%0A%0Aclass Migration(migrations.Migration):%0A%0A    dependencies = %5B%0A        ('locations', '0002_auto_20141126_2054'),%0A    %5D%0A%0A    operations = %5B%0A        migrations.RunPython(strip_boundary_alias_name)%0A    %5D%0A

add datamigration to strip boundary alias name