Commit 80a86a80 authored by Samuel GAIST's avatar Samuel GAIST
Browse files

[ui][registration][migratins] Pre-commit cleanup

parent fc1e747c
......@@ -27,8 +27,9 @@
from __future__ import unicode_literals
from django.db import migrations, models
from django.conf import settings
from django.db import migrations
from django.db import models
class Migration(migrations.Migration):
......@@ -39,28 +40,54 @@ class Migration(migrations.Migration):
operations = [
migrations.CreateModel(
name='PreregistrationProfile',
name="PreregistrationProfile",
fields=[
('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
('first_name', models.CharField(max_length=30)),
('last_name', models.CharField(max_length=30)),
('email', models.CharField(max_length=75)),
(
"id",
models.AutoField(
verbose_name="ID",
serialize=False,
auto_created=True,
primary_key=True,
),
),
("first_name", models.CharField(max_length=30)),
("last_name", models.CharField(max_length=30)),
("email", models.CharField(max_length=75)),
],
options={
'verbose_name': 'preregistration profile',
'verbose_name_plural': 'preregistration profiles',
"verbose_name": "preregistration profile",
"verbose_name_plural": "preregistration profiles",
},
),
migrations.CreateModel(
name='RegistrationProfile',
name="RegistrationProfile",
fields=[
('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
('activation_key', models.CharField(max_length=40, verbose_name='activation key')),
('user', models.OneToOneField(verbose_name='user', to=settings.AUTH_USER_MODEL, on_delete=models.CASCADE)),
(
"id",
models.AutoField(
verbose_name="ID",
serialize=False,
auto_created=True,
primary_key=True,
),
),
(
"activation_key",
models.CharField(max_length=40, verbose_name="activation key"),
),
(
"user",
models.OneToOneField(
verbose_name="user",
to=settings.AUTH_USER_MODEL,
on_delete=models.CASCADE,
),
),
],
options={
'verbose_name': 'registration profile',
'verbose_name_plural': 'registration profiles',
"verbose_name": "registration profile",
"verbose_name_plural": "registration profiles",
},
),
]
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment