Implement a hooks page

This commit is contained in:
2022-10-14 07:20:30 +01:00
parent 5c67a3a707
commit 83808dfa52
16 changed files with 109 additions and 83 deletions

View File

@@ -74,6 +74,12 @@ class Session(models.Model):
plan = models.ForeignKey(Plan, null=True, blank=True, on_delete=models.CASCADE)
class Hook(models.Model):
user = user = models.ForeignKey(User, on_delete=models.CASCADE)
hook = models.CharField(max_length=255, null=True, blank=True)
received = models.IntegerField(default=0)
# class Perms(models.Model):
# class Meta:
# permissions = (