Collect dataissues and write to db all at once

This commit is contained in:
2023-01-28 15:10:39 +00:00
parent 2704fc42d4
commit e6fd1f0ec5
2 changed files with 104 additions and 83 deletions

View File

@@ -7,7 +7,6 @@ from django.conf import settings
from troggle.core.models.caves import QM, Cave
from troggle.core.models.troggle import DataIssue
from troggle.core.utils import save_carefully
"""Reads the CSV files containg QMs for a select few caves
See parsers/survex.py for the parser which extracts QMs from the survex files