Implement OTP and show received callbacks

This commit is contained in:
2022-10-15 21:51:47 +01:00
parent 8369f44bd4
commit 361b7b96f0
17 changed files with 396 additions and 155 deletions

View File

@@ -81,6 +81,11 @@ class Hook(models.Model):
received = models.IntegerField(default=0)
class Callback(models.Model):
hook = models.ForeignKey(Hook, on_delete=models.CASCADE)
data = models.JSONField()
# class Perms(models.Model):
# class Meta:
# permissions = (