Skip to content

Commit

Permalink
Merge pull request #32 from datamade/master
Browse files Browse the repository at this point in the history
Raising length on external_id field
  • Loading branch information
James McKinney committed Sep 21, 2015
2 parents 495b36b + 13a789b commit f7735e8
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
19 changes: 19 additions & 0 deletions boundaries/migrations/0004_auto_20150921_1607.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# -*- coding: utf-8 -*-
from __future__ import unicode_literals

from django.db import models, migrations


class Migration(migrations.Migration):

dependencies = [
('boundaries', '0003_auto_20150528_1338'),
]

operations = [
migrations.AlterField(
model_name='boundary',
name='external_id',
field=models.CharField(max_length=255, help_text='An identifier of the boundary, which should be unique within the set.'),
),
]
2 changes: 1 addition & 1 deletion boundaries/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ class Boundary(models.Model):
help_text=ugettext_lazy('A generic singular name for the boundary.'))
slug = models.SlugField(max_length=200, db_index=True,
help_text=ugettext_lazy("The boundary's unique identifier within the set, used as a path component in URLs."))
external_id = models.CharField(max_length=64,
external_id = models.CharField(max_length=255,
help_text=ugettext_lazy("An identifier of the boundary, which should be unique within the set."))
name = models.CharField(max_length=192, db_index=True,
help_text=ugettext_lazy('The name of the boundary.'))
Expand Down

0 comments on commit f7735e8

Please sign in to comment.