1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
|
from __future__ import unicode_literals
from django.db import models, migrations
class Migration(migrations.Migration):
dependencies = []
operations = [
migrations.CreateModel(
name="CaptchaStore",
fields=[
(
"id",
models.AutoField(
verbose_name="ID",
serialize=False,
auto_created=True,
primary_key=True,
),
),
("challenge", models.CharField(max_length=32)),
("response", models.CharField(max_length=32)),
("hashkey", models.CharField(unique=True, max_length=40)),
("expiration", models.DateTimeField()),
],
options={},
bases=(models.Model,),
)
]
|