mirror of https://github.com/django/django.git
Fixed a few issues in previous commit.
This commit is contained in:
parent
fecfd50300
commit
6edd5b0793
|
@ -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)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue