kopia lustrzana https://gitlab.com/marnanel/chapeau
RequestingAccess had some singulars and plurals the wrong way round
rodzic
194fa96f12
commit
5a7307a0cf
|
@ -1,5 +1,5 @@
|
|||
__title__ = 'django_kepi'
|
||||
__version__ = '0.0.10'
|
||||
__version__ = '0.0.11'
|
||||
VERSION = __version__
|
||||
__author__ = 'Marnanel Thurman'
|
||||
__license__ = 'GPL-2'
|
||||
|
|
|
@ -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(
|
||||
|
|
Ładowanie…
Reference in New Issue