Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
AlekSIS-App-CSVImport
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
AlekSIS®
Official
AlekSIS-App-CSVImport
Commits
08812ffd
Verified
Commit
08812ffd
authored
3 years ago
by
Nik | Klampfradler
Browse files
Options
Downloads
Patches
Plain Diff
Fix access to field_types
parent
5f68d1a5
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!97
Fix access to field_types
Pipeline
#53231
passed with warnings
3 years ago
Stage: prepare
Stage: test
Stage: build
Stage: publish
Stage: docker
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CHANGELOG.rst
+1
-1
1 addition, 1 deletion
CHANGELOG.rst
aleksis/apps/csv_import/util/process.py
+1
-1
1 addition, 1 deletion
aleksis/apps/csv_import/util/process.py
with
2 additions
and
2 deletions
CHANGELOG.rst
+
1
−
1
View file @
08812ffd
...
...
@@ -15,7 +15,7 @@ Unreleased
Fixed
~~~~~
*
Wrong import in process utility
*
Fix logic and syntax mistaks in parts of process
`2.2`_ - 2022-02-03
-------------------
...
...
This diff is collapsed.
Click to expand it.
aleksis/apps/csv_import/util/process.py
+
1
−
1
View file @
08812ffd
...
...
@@ -133,7 +133,7 @@ def import_csv(
iterator
=
recorder
.
iterate
(
data_as_dict
)
if
recorder
else
tqdm
(
data_as_dict
)
for
row
in
iterator
:
# 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
tmpl_str
=
field_type
.
get_template
()
if
not
tmpl_str
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment