diff --git a/django_kepi/__init__.py b/django_kepi/__init__.py index 65f6975..aa51169 100644 --- a/django_kepi/__init__.py +++ b/django_kepi/__init__.py @@ -1,5 +1,5 @@ __title__ = 'django_kepi' -__version__ = '0.0.10' +__version__ = '0.0.11' VERSION = __version__ __author__ = 'Marnanel Thurman' __license__ = 'GPL-2' diff --git a/django_kepi/models.py b/django_kepi/models.py index 35ae427..f7222b6 100644 --- a/django_kepi/models.py +++ b/django_kepi/models.py @@ -394,12 +394,12 @@ class Blocking(UserRelationship): class RequestingAccess(UserRelationship): - hopefuls = models.ForeignKey(Actor, + hopeful = models.ForeignKey(Actor, on_delete = models.CASCADE, related_name = 'hopefuls') grantor = models.ForeignKey(Actor, on_delete = models.CASCADE, - related_name = 'grantor') + related_name = 'grantors') def __str__(self): return '({} requests {})'.format(