Skip to content

Commit

Permalink
chore: Move slug_re to top of file
Browse files Browse the repository at this point in the history
  • Loading branch information
jpmckinney committed Jun 26, 2024
1 parent 912be3f commit bae69f7
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions boundaries/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ class MyAppConf(AppConf):


app_settings = MyAppConf()
slug_re = re.compile(r'[–—]') # n-dash, m-dash


class BoundarySet(models.Model):
Expand Down Expand Up @@ -393,9 +394,6 @@ def geometry_to_multipolygon(geometry):
)


slug_re = re.compile(r'[–—]') # n-dash, m-dash


class Feature:

# @see https://github.com/django/django/blob/master/django/contrib/gis/gdal/feature.py
Expand Down

0 comments on commit bae69f7

Please sign in to comment.