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
Merge requests
!361
Fix lint job
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Fix lint job
fix-lint
into
master
Overview
19
Commits
1
Pipelines
3
Changes
4
2 unresolved threads
Hide all comments
Merged
Tom Teichler
requested to merge
fix-lint
into
master
4 years ago
Overview
19
Commits
1
Pipelines
3
Changes
4
2 unresolved threads
Hide all comments
Expand
0
0
Merge request reports
Compare
master
version 2
b1571962
4 years ago
version 1
bfcc5ca4
4 years ago
master (base)
and
latest version
latest version
b4fde1b1
1 commit,
4 years ago
version 2
b1571962
1 commit,
4 years ago
version 1
bfcc5ca4
1 commit,
4 years ago
4 files
+
4
−
6
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
4
Search (e.g. *.vue) (Ctrl+P)
aleksis/core/util/core_helpers.py
+
0
−
1
Options
@@ -365,7 +365,6 @@ def queryset_rules_filter(
obj
:
Union
[
HttpRequest
,
Model
],
queryset
:
QuerySet
,
perm
:
str
)
->
QuerySet
:
"""
Filter queryset by user and permission.
"""
wanted_objects
=
set
()
if
isinstance
(
obj
,
HttpRequest
)
and
hasattr
(
obj
,
"
user
"
):
obj
=
obj
.
user
Loading