webhook endpoint

This commit is contained in:
Gardient
2021-09-30 23:01:16 +03:00
parent 04d70ba424
commit a0dbdc4ddf
7 changed files with 35 additions and 3 deletions

View File

@@ -19,3 +19,6 @@ class Registration(SurrogatePK, Model):
def __init__(self, **kwargs):
super(Registration, self).__init__(**kwargs)
def __repr__(self):
return f'<{Registration.__name__}({self.id}):{self.name!r}->({",".join([repr(x) for x in self.targets])})>'