1
0
mirror of https://github.com/django/django.git synced 2025-01-23 08:39:17 +00:00

Fixed a few issues in previous commit.

This commit is contained in:
Aymeric Augustin 2014-01-01 11:52:56 +01:00
parent fecfd50300
commit 6edd5b0793

View File

@ -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)