Update web/core/views.py

This commit is contained in:
Joshua Laymon 2025-08-22 02:35:43 +00:00
parent 6d8e5e32d4
commit 2648467bb1

View File

@ -359,7 +359,8 @@ def import_wizard(request):
# If the first row doesnt look like our header, allow import to proceed,
# but show a gentle warning in the result page.
header_ok = (norm == expected_norm)
if not hasattr(core_utils, "EXPECTED_HEADERS"):
core_utils.EXPECTED_HEADERS = _EXPECTED_HEADERS
# hand off to your existing robust importer
report = import_csv_bytes(
raw,