2013-01-02 19:42:16 +01:00
|
|
|
# -*- coding: utf-8 -*-
|
2015-08-18 21:29:23 +02:00
|
|
|
from django.db import models, migrations
|
2017-06-01 10:45:10 +02:00
|
|
|
import django.db.models.deletion
|
2015-08-18 21:29:23 +02:00
|
|
|
|
|
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
|
|
|
|
dependencies = [
|
|
|
|
('contenttypes', '0001_initial'),
|
|
|
|
]
|
|
|
|
|
|
|
|
operations = [
|
|
|
|
migrations.CreateModel(
|
|
|
|
name='Confirmation',
|
|
|
|
fields=[
|
|
|
|
('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
|
|
|
|
('object_id', models.PositiveIntegerField()),
|
|
|
|
('date_sent', models.DateTimeField(verbose_name='sent')),
|
|
|
|
('confirmation_key', models.CharField(max_length=40, verbose_name='activation key')),
|
2017-06-01 10:45:10 +02:00
|
|
|
('content_type', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='contenttypes.ContentType')),
|
2015-08-18 21:29:23 +02:00
|
|
|
],
|
|
|
|
options={
|
|
|
|
'verbose_name': 'confirmation email',
|
|
|
|
'verbose_name_plural': 'confirmation emails',
|
|
|
|
},
|
|
|
|
bases=(models.Model,),
|
|
|
|
),
|
|
|
|
]
|