IdHub/webhook/models.py

11 lines
301 B
Python

from django.db import models
from django.utils.translation import gettext_lazy as _
# Create your models here.
class Token(models.Model):
token = models.UUIDField()
label = models.CharField(_("Label"), max_length=250, default="")
active = models.BooleanField(_("Active"), default=True)