Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Fixed failing test in gis app #2444

Closed
wants to merge 1 commit into from

2 participants

This page is out of date. Refresh to see the latest.
View
4 django/contrib/gis/tests/gis_migrations/migrations/0001_initial.py
@@ -10,7 +10,7 @@ class Migration(migrations.Migration):
name='Neighborhood',
fields=[
('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
- ('name', models.TextField(unique=True)),
+ ('name', models.CharField(max_length=100, unique=True)),
('geom', django.contrib.gis.db.models.fields.MultiPolygonField(srid=4326, null=True)),
],
options={
@@ -22,7 +22,7 @@ class Migration(migrations.Migration):
fields=[
('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
('neighborhood', models.ForeignKey(to='gis.Neighborhood', to_field='id', null=True)),
- ('address', models.TextField()),
+ ('address', models.CharField(max_length=100)),
('zip_code', models.IntegerField(null=True, blank=True)),
('geom', django.contrib.gis.db.models.fields.PointField(srid=4326, null=True, geography=True)),
],
Something went wrong with that request. Please try again.