Several small whitespace fixes for styleguide/flake8 violations
This commit is contained in:
parent
0ce945a671
commit
791142e8b3
|
@ -49,4 +49,3 @@ class Interstate(NamedModel):
|
||||||
class SouthTexasInterstate(NamedModel):
|
class SouthTexasInterstate(NamedModel):
|
||||||
"Projected model for South Texas Interstates."
|
"Projected model for South Texas Interstates."
|
||||||
path = models.LineStringField(srid=32140)
|
path = models.LineStringField(srid=32140)
|
||||||
|
|
||||||
|
|
|
@ -19,6 +19,7 @@ class NamedModel(models.Model):
|
||||||
def __str__(self):
|
def __str__(self):
|
||||||
return self.name
|
return self.name
|
||||||
|
|
||||||
|
|
||||||
class Country(NamedModel):
|
class Country(NamedModel):
|
||||||
mpoly = models.MultiPolygonField() # SRID, by default, is 4326
|
mpoly = models.MultiPolygonField() # SRID, by default, is 4326
|
||||||
|
|
||||||
|
@ -37,7 +38,7 @@ class PennsylvaniaCity(City):
|
||||||
objects = models.GeoManager()
|
objects = models.GeoManager()
|
||||||
|
|
||||||
class Meta:
|
class Meta:
|
||||||
app_label = 'geoapp'
|
app_label = 'geoapp'
|
||||||
|
|
||||||
|
|
||||||
class State(NamedModel):
|
class State(NamedModel):
|
||||||
|
@ -62,7 +63,6 @@ if not spatialite:
|
||||||
class Feature(NamedModel):
|
class Feature(NamedModel):
|
||||||
geom = models.GeometryField()
|
geom = models.GeometryField()
|
||||||
|
|
||||||
|
|
||||||
class MinusOneSRID(models.Model):
|
class MinusOneSRID(models.Model):
|
||||||
geom = models.PointField(srid=-1) # Minus one SRID.
|
geom = models.PointField(srid=-1) # Minus one SRID.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue