Update web/core/views.py
This commit is contained in:
parent
6d8e5e32d4
commit
2648467bb1
@ -359,7 +359,8 @@ def import_wizard(request):
|
||||
# If the first row doesn’t 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,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user