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

10 lines
378 B
Python

from django.db import models
import uuid
# 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)