Habia trabajado un buen poco pero como vi que tenia que separar los repositorios perdi bastante la historia :c
35 lines
1.2 KiB
Python
35 lines
1.2 KiB
Python
# Generated by Django 3.0.6 on 2020-05-16 02:58
|
|
|
|
import django.contrib.auth.validators
|
|
from django.db import migrations, models
|
|
import django.db.models.manager
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
initial = True
|
|
|
|
dependencies = [
|
|
]
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name='User',
|
|
fields=[
|
|
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
|
('password', models.CharField(max_length=128, verbose_name='password')),
|
|
('last_login', models.DateTimeField(blank=True, null=True, verbose_name='last login')),
|
|
('username', models.CharField(max_length=40, unique=True, validators=[django.contrib.auth.validators.UnicodeUsernameValidator()])),
|
|
('email', models.EmailField(max_length=254)),
|
|
('is_active', models.BooleanField(default=True)),
|
|
('is_admin', models.BooleanField(default=False)),
|
|
],
|
|
options={
|
|
'abstract': False,
|
|
},
|
|
managers=[
|
|
('object', django.db.models.manager.Manager()),
|
|
],
|
|
),
|
|
]
|