From 6edd5b0793281865833edec17ac45b1ddb21ba50 Mon Sep 17 00:00:00 2001 From: Aymeric Augustin Date: Wed, 1 Jan 2014 11:52:56 +0100 Subject: [PATCH] Fixed a few issues in previous commit. --- django/contrib/gis/tests/distapp/models.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/django/contrib/gis/tests/distapp/models.py b/django/contrib/gis/tests/distapp/models.py index d10ce76158..4490ca9213 100644 --- a/django/contrib/gis/tests/distapp/models.py +++ b/django/contrib/gis/tests/distapp/models.py @@ -33,23 +33,20 @@ class AustraliaCity(NamedModel): class CensusZipcode(NamedModel): "Model for a few South Texas ZIP codes (in original Census NAD83)." - name = models.CharField(max_length=5) poly = models.PolygonField(srid=4269) class SouthTexasZipcode(NamedModel): "Model for a few South Texas ZIP codes." - name = models.CharField(max_length=5) poly = models.PolygonField(srid=32140, null=True) class Interstate(NamedModel): "Geodetic model for U.S. Interstates." - name = models.CharField(max_length=10) path = models.LineStringField() class SouthTexasInterstate(NamedModel): "Projected model for South Texas Interstates." - name = models.CharField(max_length=10) + path = models.LineStringField(srid=32140)