Skip to content
Snippets Groups Projects
Verified Commit 08812ffd authored by Nik | Klampfradler's avatar Nik | Klampfradler
Browse files

Fix access to field_types

parent 5f68d1a5
No related branches found
No related tags found
No related merge requests found
...@@ -15,7 +15,7 @@ Unreleased ...@@ -15,7 +15,7 @@ Unreleased
Fixed Fixed
~~~~~ ~~~~~
* Wrong import in process utility * Fix logic and syntax mistaks in parts of process
`2.2`_ - 2022-02-03 `2.2`_ - 2022-02-03
------------------- -------------------
......
...@@ -133,7 +133,7 @@ def import_csv( ...@@ -133,7 +133,7 @@ def import_csv(
iterator = recorder.iterate(data_as_dict) if recorder else tqdm(data_as_dict) iterator = recorder.iterate(data_as_dict) if recorder else tqdm(data_as_dict)
for row in iterator: for row in iterator:
# Generate virtual and post-processed field data # Generate virtual and post-processed field data
for column_name, field_type in field_types: for column_name, field_type in field_types.items():
# Generate field using a Django template string, and the row as context # Generate field using a Django template string, and the row as context
tmpl_str = field_type.get_template() tmpl_str = field_type.get_template()
if not tmpl_str: if not tmpl_str:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment