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.
44 lines
1.3 KiB
44 lines
1.3 KiB
# -*- coding: utf-8 -*-
|
|
# Generated by Django 1.9.6 on 2016-07-10 15:38
|
|
from __future__ import unicode_literals
|
|
|
|
import datetime
|
|
from django.db import migrations, models
|
|
import django.utils.timezone
|
|
from django.utils.timezone import utc
|
|
import mptt.fields
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('users', '0017_user_phone'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.RemoveField(
|
|
model_name='user',
|
|
name='nickname',
|
|
),
|
|
migrations.AddField(
|
|
model_name='user',
|
|
name='data_joined',
|
|
field=models.DateTimeField(default=django.utils.timezone.now),
|
|
),
|
|
migrations.AddField(
|
|
model_name='user',
|
|
name='username',
|
|
field=models.CharField(default=datetime.datetime(2016, 7, 10, 15, 38, 2, 660834, tzinfo=utc), max_length=50, unique=True),
|
|
preserve_default=False,
|
|
),
|
|
migrations.AlterField(
|
|
model_name='user',
|
|
name='contractor_specializations',
|
|
field=mptt.fields.TreeManyToManyField(blank=True, related_name='contractors', to='specializations.Specialization'),
|
|
),
|
|
migrations.AlterField(
|
|
model_name='user',
|
|
name='date_of_birth',
|
|
field=models.DateTimeField(blank=True, null=True),
|
|
),
|
|
]
|
|
|