diff options
| author | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2025-03-01 19:41:37 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-03-01 19:41:37 +0100 |
| commit | ff3aaf036f0cb66cd8f404cd51c603e68aaa7676 (patch) | |
| tree | a8381709777a84aad1c3c679dc5807bab6f486db /tests/gis_tests | |
| parent | ea1e3703bee28bfbe4f32ceb39ad31763353b143 (diff) | |
Applied Black's 2025 stable style.
https://github.com/psf/black/releases/tag/25.1.0
Diffstat (limited to 'tests/gis_tests')
| -rw-r--r-- | tests/gis_tests/distapp/models.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/gis_tests/distapp/models.py b/tests/gis_tests/distapp/models.py index b7b60ebf38..ff0045b82e 100644 --- a/tests/gis_tests/distapp/models.py +++ b/tests/gis_tests/distapp/models.py @@ -15,17 +15,20 @@ class NamedModel(models.Model): class SouthTexasCity(NamedModel): "City model on projected coordinate system for South Texas." + point = models.PointField(srid=32140) radius = models.IntegerField(default=10000) class SouthTexasCityFt(NamedModel): "Same City model as above, but U.S. survey feet are the units." + point = models.PointField(srid=2278) class AustraliaCity(NamedModel): "City model for Australia, using WGS84." + point = models.PointField() radius = models.IntegerField(default=10000) allowed_distance = models.FloatField(default=0.5) @@ -34,19 +37,23 @@ class AustraliaCity(NamedModel): class CensusZipcode(NamedModel): "Model for a few South Texas ZIP codes (in original Census NAD83)." + poly = models.PolygonField(srid=4269) class SouthTexasZipcode(NamedModel): "Model for a few South Texas ZIP codes." + poly = models.PolygonField(srid=32140, null=gisfield_may_be_null) class Interstate(NamedModel): "Geodetic model for U.S. Interstates." + path = models.LineStringField() class SouthTexasInterstate(NamedModel): "Projected model for South Texas Interstates." + path = models.LineStringField(srid=32140) |
