datamade / django-councilmatic

:heartpulse: Django app providing core functions for *.councilmatic.org
http://councilmatic.org
MIT License
26 stars 16 forks source link

Create management command for importing shapefiles #248

Closed jeancochrane closed 5 years ago

jeancochrane commented 5 years ago

Pull out logic from the soon-to-be deprecated import_data command into its own management command, import_geographies. Specifically, adapt this method, making sure it fits with the new models introduced in #240:

https://github.com/datamade/django-councilmatic/blob/5387ae85ea289b22c4e0ea566fa89a1c43155ed0/councilmatic_core/management/commands/import_data.py#L3196-L3226

fgregg commented 5 years ago

I'd like to see if we can lean into the collect static approach. If that's not desirable for some reason, please let me know.

https://docs.djangoproject.com/en/2.2/ref/contrib/staticfiles/

jeancochrane commented 5 years ago

Closed in #249.