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
8513c8fd
Verified
Commit
8513c8fd
authored
2 years ago
by
magicfelix
Browse files
Options
Downloads
Patches
Plain Diff
Fix DoesNotExistError in InvitePerson view
parent
e8d7b1b4
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!1101
Fix DoesNotExistError in InvitePerson view
Pipeline
#93443
passed
2 years ago
Stage: prepare
Stage: test
Stage: build
Stage: publish
Stage: docker
Stage: deploy
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
aleksis/core/tables.py
+1
-1
1 addition, 1 deletion
aleksis/core/tables.py
with
1 addition
and
1 deletion
aleksis/core/tables.py
+
1
−
1
View file @
8513c8fd
...
...
@@ -156,7 +156,7 @@ class PersonColumn(tables.Column):
"""
Returns person object from given id.
"""
def
render
(
self
,
value
):
return
Person
.
objects
.
get
(
user__id
=
value
)
return
Person
.
objects
.
get
(
pk
=
value
)
class
InvitationCodeColumn
(
tables
.
Column
):
...
...
This diff is collapsed.
Click to expand it.
magicfelix
@magicfelix
mentioned in commit
8a8b30e3
·
2 years ago
mentioned in commit
8a8b30e3
mentioned in commit 8a8b30e3a973aa1d188da8ca906215adbec3a316
Toggle commit list
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