You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
1.2 KiB
27 lines
1.2 KiB
# Generated by Django 2.0.2 on 2018-03-12 14:01
|
|
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('user', '0008_auto_20180212_0750'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name='AuthorRequest',
|
|
fields=[
|
|
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
|
('first_name', models.CharField(max_length=30, verbose_name='first name')),
|
|
('last_name', models.CharField(max_length=150, verbose_name='last name')),
|
|
('email', models.EmailField(max_length=254, verbose_name='email address')),
|
|
('about', models.CharField(blank=True, max_length=1000, null=True, verbose_name='О себе')),
|
|
('facebook', models.URLField(blank=True, default='', null=True)),
|
|
('status', models.PositiveSmallIntegerField(choices=[(0, 'pending'), (1, 'accepted'), (2, 'declined')], default=0)),
|
|
('created_at', models.DateTimeField(auto_now_add=True)),
|
|
('update_at', models.DateTimeField(auto_now=True)),
|
|
],
|
|
),
|
|
]
|
|
|