summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2014-01-01 09:37:52 -0800
committerAlex Gaynor <alex.gaynor@gmail.com>2014-01-01 09:37:52 -0800
commit791142e8b3e35bb387f4efbb6c7f73f2171a7164 (patch)
tree6d308a5dbb89c521c2add0e59ee94f8b8860449c
parent0ce945a67151acf2c58bc35a47f4c3d45ff30085 (diff)
Several small whitespace fixes for styleguide/flake8 violations
-rw-r--r--django/contrib/gis/tests/distapp/models.py1
-rw-r--r--django/contrib/gis/tests/geoapp/models.py4
2 files changed, 2 insertions, 3 deletions
diff --git a/django/contrib/gis/tests/distapp/models.py b/django/contrib/gis/tests/distapp/models.py
index 4490ca9213..4d95b219d7 100644
--- a/django/contrib/gis/tests/distapp/models.py
+++ b/django/contrib/gis/tests/distapp/models.py
@@ -49,4 +49,3 @@ class Interstate(NamedModel):
class SouthTexasInterstate(NamedModel):
"Projected model for South Texas Interstates."
path = models.LineStringField(srid=32140)
-
diff --git a/django/contrib/gis/tests/geoapp/models.py b/django/contrib/gis/tests/geoapp/models.py
index 3e1e927155..2550854b76 100644
--- a/django/contrib/gis/tests/geoapp/models.py
+++ b/django/contrib/gis/tests/geoapp/models.py
@@ -19,6 +19,7 @@ class NamedModel(models.Model):
def __str__(self):
return self.name
+
class Country(NamedModel):
mpoly = models.MultiPolygonField() # SRID, by default, is 4326
@@ -37,7 +38,7 @@ class PennsylvaniaCity(City):
objects = models.GeoManager()
class Meta:
- app_label = 'geoapp'
+ app_label = 'geoapp'
class State(NamedModel):
@@ -62,7 +63,6 @@ if not spatialite:
class Feature(NamedModel):
geom = models.GeometryField()
-
class MinusOneSRID(models.Model):
geom = models.PointField(srid=-1) # Minus one SRID.