Actors have an activity_form

2019-08-17
Marnanel Thurman 2019-05-29 11:49:02 +01:00
rodzic 244da31b47
commit fb1444e4ef
1 zmienionych plików z 9 dodań i 0 usunięć

Wyświetl plik

@ -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