Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
AlekSIS-Core
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
Analyze
Contributor 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-Core
Commits
183cc856
Verified
Commit
183cc856
authored
4 years ago
by
Tom Teichler
Browse files
Options
Downloads
Patches
Plain Diff
Fix lint
parent
55501d2f
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!378
Resolve "Job Failed #12083"
Pipeline
#4146
passed
4 years ago
Stage: test
Stage: build
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
aleksis/core/apps.py
+1
-1
1 addition, 1 deletion
aleksis/core/apps.py
aleksis/core/mixins.py
+1
-1
1 addition, 1 deletion
aleksis/core/mixins.py
aleksis/core/views.py
+1
-1
1 addition, 1 deletion
aleksis/core/views.py
with
3 additions
and
3 deletions
aleksis/core/apps.py
+
1
−
1
View file @
183cc856
...
...
@@ -2,7 +2,7 @@ from typing import Any, List, Optional, Tuple
import
django.apps
from
django.conf
import
settings
from
django.db
import
ProgrammingError
,
Operational
Error
from
django.db
import
OperationalError
,
Programming
Error
from
django.http
import
HttpRequest
from
django.utils.module_loading
import
autodiscover_modules
...
...
This diff is collapsed.
Click to expand it.
aleksis/core/mixins.py
+
1
−
1
View file @
183cc856
...
...
@@ -9,7 +9,7 @@ from django.contrib.contenttypes.models import ContentType
from
django.contrib.sites.managers
import
CurrentSiteManager
from
django.contrib.sites.models
import
Site
from
django.db
import
models
from
django.db.models
import
QuerySet
,
JSONField
from
django.db.models
import
JSONField
,
QuerySet
from
django.forms.forms
import
BaseForm
from
django.forms.models
import
ModelForm
,
ModelFormMetaclass
from
django.http
import
HttpResponse
...
...
This diff is collapsed.
Click to expand it.
aleksis/core/views.py
+
1
−
1
View file @
183cc856
...
...
@@ -371,8 +371,8 @@ class SystemStatus(MainView, PermissionRequiredMixin):
task_results
=
[]
if
"
django_celery_results
"
in
settings
.
INSTALLED_APPS
:
from
django_celery_results.models
import
TaskResult
# noqa
from
celery.task.control
import
inspect
# noqa
from
django_celery_results.models
import
TaskResult
# noqa
if
inspect
().
registered_tasks
():
job_list
=
list
(
inspect
().
registered_tasks
().
values
())[
0
]
...
...
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