summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAymeric Augustin <aymeric.augustin@m4x.org>2014-01-01 11:52:56 +0100
committerAymeric Augustin <aymeric.augustin@m4x.org>2014-01-01 11:52:56 +0100
commit6edd5b0793281865833edec17ac45b1ddb21ba50 (patch)
tree8ec18c8b0d27365013ff0d43b6cde7437d53fb73
parentfecfd5030036d370c10114f1817605a3e47e73ff (diff)
Fixed a few issues in previous commit.
-rw-r--r--django/contrib/gis/tests/distapp/models.py5
1 files changed, 1 insertions, 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)