Rename Key to PgpKey, so other keys can fit too

This commit is contained in:
Danielle McLean 2023-08-10 16:50:35 +10:00
parent fe187da491
commit cd990e4e2f
Signed by: 00dani
GPG key ID: 52C059C3B22A753E
3 changed files with 22 additions and 5 deletions

View file

@ -197,7 +197,7 @@ class Profile(models.Model):
ordering = ('site', 'username')
class Key(models.Model):
class PgpKey(models.Model):
"""
Represents a PGP key that belongs to a particular :model:`users.User`. Each
key will be added to the user's h-card with rel="pgpkey", a format