ungleich-otp/ungleichotp/otpauth/models.py
2018-10-26 21:48:21 +02:00

9 lines
366 B
Python

from django.db import models
# Create your models here.
class OTPSeed(models.Model):
appuuid = models.UUIDField(primary_key=True, default=uuid.uuid4, editable=False)
appname = models.CharField(max_length=128)
username = models.CharField(max_length=128)
seed = models.CharField(max_length=128)
trusted = models.BooleanField(default=False)