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
1 changed files with 1 additions and 4 deletions

View File

@ -33,23 +33,20 @@ class AustraliaCity(NamedModel):
class CensusZipcode(NamedModel): class CensusZipcode(NamedModel):
"Model for a few South Texas ZIP codes (in original Census NAD83)." "Model for a few South Texas ZIP codes (in original Census NAD83)."
name = models.CharField(max_length=5)
poly = models.PolygonField(srid=4269) poly = models.PolygonField(srid=4269)
class SouthTexasZipcode(NamedModel): class SouthTexasZipcode(NamedModel):
"Model for a few South Texas ZIP codes." "Model for a few South Texas ZIP codes."
name = models.CharField(max_length=5)
poly = models.PolygonField(srid=32140, null=True) poly = models.PolygonField(srid=32140, null=True)
class Interstate(NamedModel): class Interstate(NamedModel):
"Geodetic model for U.S. Interstates." "Geodetic model for U.S. Interstates."
name = models.CharField(max_length=10)
path = models.LineStringField() path = models.LineStringField()
class SouthTexasInterstate(NamedModel): class SouthTexasInterstate(NamedModel):
"Projected model for South Texas Interstates." "Projected model for South Texas Interstates."
name = models.CharField(max_length=10) path = models.LineStringField(srid=32140)