Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
feudal
feudalBackend
Commits
ad64e218
Commit
ad64e218
authored
Dec 07, 2017
by
Lukas Burgey
Browse files
Add deleted field to ssh key
parent
eb531521
Changes
1
Hide whitespace changes
Inline
Side-by-side
django_backend/backend/models.py
View file @
ad64e218
...
...
@@ -176,6 +176,11 @@ class SSHPublicKey(models.Model):
blank
=
True
,
editable
=
False
,
)
# has the user triggered the deletion of this key
deleted
=
models
.
BooleanField
(
default
=
False
,
editable
=
False
,
)
def
__str__
(
self
):
return
self
.
name
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment