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
Merge requests
!68
Resolve "CSVImport blocks celery workers with haystack tasks"
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Resolve "CSVImport blocks celery workers with haystack tasks"
37-csvimport-blocks-celery-workers-with-haystack-tasks
into
master
Overview
0
Commits
1
Pipelines
5
Changes
1
Merged
Tom Teichler
requested to merge
37-csvimport-blocks-celery-workers-with-haystack-tasks
into
master
3 years ago
Overview
0
Commits
1
Pipelines
5
Changes
1
Expand
Mitigates
#37 (closed)
Edited
3 years ago
by
Tom Teichler
0
0
Merge request reports
Compare
master
version 4
ab2a772d
3 years ago
version 3
ab2a772d
3 years ago
version 2
f0b661c5
3 years ago
version 1
ab2a772d
3 years ago
master (base)
and
latest version
latest version
ab2a772d
1 commit,
3 years ago
version 4
ab2a772d
1 commit,
3 years ago
version 3
ab2a772d
1 commit,
3 years ago
version 2
f0b661c5
2 commits,
3 years ago
version 1
ab2a772d
1 commit,
3 years ago
1 file
+
2
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
aleksis/apps/csv_import/util/process.py
+
2
−
0
Options
@@ -3,6 +3,7 @@ from typing import Optional
from
django.contrib
import
messages
from
django.core.exceptions
import
ValidationError
from
django.db
import
transaction
from
django.utils.translation
import
gettext
as
_
import
pandas
@@ -23,6 +24,7 @@ from aleksis.core.util.celery_progress import ProgressRecorder
from
..models
import
ImportJob
@transaction.atomic
def
import_csv
(
import_job
:
ImportJob
,
recorder
:
Optional
[
ProgressRecorder
]
=
None
,
Loading