From fb1444e4efd39f27fbd7a5f915cbcd712a4df5b6 Mon Sep 17 00:00:00 2001 From: Marnanel Thurman Date: Wed, 29 May 2019 11:49:02 +0100 Subject: [PATCH] Actors have an activity_form --- django_kepi/models/actor.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/django_kepi/models/actor.py b/django_kepi/models/actor.py index 400e89c..585c14a 100644 --- a/django_kepi/models/actor.py +++ b/django_kepi/models/actor.py @@ -91,3 +91,12 @@ class Actor(models.Model): else: return self.thing[name] + @property + def activity_form(self): + """ + The form which GET requests will return. + + Delegates everything to our parent Thing. + """ + return self.thing.activity_form +