Commit eb531521 authored by Lukas Burgey's avatar Lukas Burgey
Browse files

Add deployments field to ssh keys

parent 0209725f
......@@ -169,6 +169,14 @@ class SSHPublicKey(models.Model):
User,
related_name='ssh_keys')
# at which sites is this ssh key deployed?
deployements = models.ManyToManyField(
Site,
related_name='deployed_ssh_keys',
blank=True,
editable=False,
)
def __str__(self):
return self.name
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment