fpdcc / ccfp-asset-dashboard

CCFP Asset Dashboard
0 stars 1 forks source link

Fix missing geo calculations #267

Closed smcalilly closed 10 months ago

smcalilly commented 10 months ago

Overview

Includes a Heroku review app config change to support a different database connection (to be addressed in another PR, but related to #252)

Notes

This happened due to two things:

  1. for the Zone model, the import was skipping the zones, so I changed it to an update_or_create
  2. for districts, moving self.save() outside of the loop fixed this...dunno why

Testing Instructions