Closed geramirez closed 9 years ago
This update should fix #770. I found two issues that were keeping load_agency_contacts.py
from working properly.
load_agency_contacts.py
to work the tempfile module. Stats.objects.filter(agency=agency, office=office).delete()
deletes items based on pks. When we inserted the new agency, the pks numbers were offset causing anything after the new agency to delete the stats before it; hence the duplicate error. The coveralls tasks are taking really long today. I'm going to merge this in.
fixing #770