parent
3093511529
commit
ff323a7e25
3 changed files with 44 additions and 59 deletions
@ -1,21 +0,0 @@ |
||||
# -*- coding: utf-8 -*- |
||||
# Generated by Django 1.9.6 on 2016-06-30 15:46 |
||||
from __future__ import unicode_literals |
||||
|
||||
from django.db import migrations |
||||
import mptt.fields |
||||
|
||||
|
||||
class Migration(migrations.Migration): |
||||
|
||||
dependencies = [ |
||||
('users', '0017_user_phone'), |
||||
] |
||||
|
||||
operations = [ |
||||
migrations.AlterField( |
||||
model_name='user', |
||||
name='contractor_specializations', |
||||
field=mptt.fields.TreeManyToManyField(blank=True, related_name='contractors', to='specializations.Specialization'), |
||||
), |
||||
] |
||||
@ -0,0 +1,44 @@ |
||||
# -*- 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), |
||||
), |
||||
] |
||||
@ -1,38 +0,0 @@ |
||||
# -*- coding: utf-8 -*- |
||||
# Generated by Django 1.9.6 on 2016-07-08 13:53 |
||||
from __future__ import unicode_literals |
||||
|
||||
import datetime |
||||
from django.db import migrations, models |
||||
import django.utils.timezone |
||||
from django.utils.timezone import utc |
||||
|
||||
|
||||
class Migration(migrations.Migration): |
||||
|
||||
dependencies = [ |
||||
('users', '0018_auto_20160630_1846'), |
||||
] |
||||
|
||||
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, 8, 13, 53, 51, 625003, tzinfo=utc), max_length=50, unique=True), |
||||
# preserve_default=False, |
||||
# ), |
||||
migrations.AlterField( |
||||
model_name='user', |
||||
name='date_of_birth', |
||||
field=models.DateTimeField(blank=True, null=True), |
||||
), |
||||
] |
||||
Loading…
Reference in new issue