# -*- coding: utf-8 -*-
from __future__ import unicode_literals

from django.db import models, migrations
import django.utils.timezone
import django.core.validators


class Migration(migrations.Migration):

    dependencies = [
        ('auth', '0001_initial'),
    ]

    operations = [
        migrations.CreateModel(
            name='User',
            fields=[
                ('id', models.AutoField(primary_key=True, verbose_name='ID', auto_created=True, serialize=False)),
                ('password', models.CharField(verbose_name='password', max_length=128)),
                ('last_login', models.DateTimeField(verbose_name='last login', default=django.utils.timezone.now)),
                ('is_superuser', models.BooleanField(help_text='Designates that this user has all permissions without explicitly assigning them.', verbose_name='superuser status', default=False)),
                ('username', models.CharField(unique=True, verbose_name='username', help_text='Required. 30 characters or fewer. Letters, digits and @/./+/-/_ only.', max_length=30, validators=[django.core.validators.RegexValidator('^[\\w.@+-]+$', 'Enter a valid username.', 'invalid')])),
                ('first_name', models.CharField(verbose_name='first name', blank=True, max_length=30)),
                ('last_name', models.CharField(verbose_name='last name', blank=True, max_length=30)),
                ('email', models.EmailField(verbose_name='email address', blank=True, max_length=75)),
                ('is_staff', models.BooleanField(help_text='Designates whether the user can log into this admin site.', verbose_name='staff status', default=False)),
                ('is_active', models.BooleanField(help_text='Designates whether this user should be treated as active. Unselect this instead of deleting accounts.', verbose_name='active', default=True)),
                ('date_joined', models.DateTimeField(verbose_name='date joined', default=django.utils.timezone.now)),
                ('photo', models.ImageField(null=True, blank=True, upload_to='profiles')),
                ('is_specialist', models.BooleanField(default=False)),
                ('is_patient', models.BooleanField(default=False)),
                ('is_relative', models.BooleanField(default=False)),
                ('date_birth', models.DateField()),
                ('genre', models.CharField(null=True, blank=True, max_length=2)),
                ('address', models.CharField(null=True, blank=True, max_length=200)),
                ('zip_code', models.CharField(null=True, blank=True, max_length=200)),
                ('phone', models.CharField(null=True, blank=True, max_length=200)),
                ('mobile_phone', models.CharField(null=True, blank=True, max_length=200)),
                ('website', models.CharField(null=True, blank=True, max_length=200)),
                ('work_phone', models.CharField(null=True, blank=True, max_length=200)),
                ('bio', models.CharField(null=True, blank=True, max_length=1000)),
                ('slug', models.SlugField(unique=True, max_length=255)),
            ],
            options={
                'verbose_name': 'user',
                'abstract': False,
                'verbose_name_plural': 'users',
            },
            bases=(models.Model,),
        ),
        migrations.CreateModel(
            name='City',
            fields=[
                ('id', models.AutoField(primary_key=True, verbose_name='ID', auto_created=True, serialize=False)),
                ('name', models.CharField(max_length=200)),
                ('code', models.CharField(null=True, blank=True, max_length=220)),
                ('active', models.BooleanField(default=True)),
                ('date_created', models.DateTimeField(auto_now_add=True)),
                ('date_updated', models.DateTimeField(auto_now=True, auto_now_add=True)),
            ],
            options={
            },
            bases=(models.Model,),
        ),
        migrations.CreateModel(
            name='Country',
            fields=[
                ('id', models.AutoField(primary_key=True, verbose_name='ID', auto_created=True, serialize=False)),
                ('name', models.CharField(max_length=200)),
                ('code', models.CharField(null=True, blank=True, max_length=220)),
                ('active', models.BooleanField(default=True)),
                ('date_created', models.DateTimeField(auto_now_add=True)),
                ('date_updated', models.DateTimeField(auto_now=True, auto_now_add=True)),
            ],
            options={
            },
            bases=(models.Model,),
        ),
        migrations.CreateModel(
            name='State',
            fields=[
                ('id', models.AutoField(primary_key=True, verbose_name='ID', auto_created=True, serialize=False)),
                ('name', models.CharField(max_length=200)),
                ('code', models.CharField(null=True, blank=True, max_length=220)),
                ('active', models.BooleanField(default=True)),
                ('date_created', models.DateTimeField(auto_now_add=True)),
                ('date_updated', models.DateTimeField(auto_now=True, auto_now_add=True)),
                ('country', models.ForeignKey(blank=True, null=True, to='accounts.Country')),
            ],
            options={
            },
            bases=(models.Model,),
        ),
        migrations.AddField(
            model_name='city',
            name='state',
            field=models.ForeignKey(blank=True, null=True, to='accounts.State'),
            preserve_default=True,
        ),
        migrations.AddField(
            model_name='user',
            name='city',
            field=models.ForeignKey(blank=True, null=True, to='accounts.City'),
            preserve_default=True,
        ),
        migrations.AddField(
            model_name='user',
            name='groups',
            field=models.ManyToManyField(help_text='The groups this user belongs to. A user will get all permissions granted to each of his/her group.', related_query_name='user', blank=True, verbose_name='groups', to='auth.Group', related_name='user_set'),
            preserve_default=True,
        ),
    ]

9d68aed8a7550554f556fbed00b3a2844792c9b3
<mask token>

<mask token>


class Migration(migrations.Migration):
    <mask token>
    <mask token>

<mask token>


class Migration(migrations.Migration):
    dependencies = [('auth', '0001_initial')]
    operations = [migrations.CreateModel(name='User', fields=[('id', models
        .AutoField(primary_key=True, verbose_name='ID', auto_created=True,
        serialize=False)), ('password', models.CharField(verbose_name=
        'password', max_length=128)), ('last_login', models.DateTimeField(
        verbose_name='last login', default=django.utils.timezone.now)), (
        'is_superuser', models.BooleanField(help_text=
        'Designates that this user has all permissions without explicitly assigning them.'
        , verbose_name='superuser status', default=False)), ('username',
        models.CharField(unique=True, verbose_name='username', help_text=
        'Required. 30 characters or fewer. Letters, digits and @/./+/-/_ only.'
        , max_length=30, validators=[django.core.validators.RegexValidator(
        '^[\\w.@+-]+$', 'Enter a valid username.', 'invalid')])), (
        'first_name', models.CharField(verbose_name='first name', blank=
        True, max_length=30)), ('last_name', models.CharField(verbose_name=
        'last name', blank=True, max_length=30)), ('email', models.
        EmailField(verbose_name='email address', blank=True, max_length=75)
        ), ('is_staff', models.BooleanField(help_text=
        'Designates whether the user can log into this admin site.',
        verbose_name='staff status', default=False)), ('is_active', models.
        BooleanField(help_text=
        'Designates whether this user should be treated as active. Unselect this instead of deleting accounts.'
        , verbose_name='active', default=True)), ('date_joined', models.
        DateTimeField(verbose_name='date joined', default=django.utils.
        timezone.now)), ('photo', models.ImageField(null=True, blank=True,
        upload_to='profiles')), ('is_specialist', models.BooleanField(
        default=False)), ('is_patient', models.BooleanField(default=False)),
        ('is_relative', models.BooleanField(default=False)), ('date_birth',
        models.DateField()), ('genre', models.CharField(null=True, blank=
        True, max_length=2)), ('address', models.CharField(null=True, blank
        =True, max_length=200)), ('zip_code', models.CharField(null=True,
        blank=True, max_length=200)), ('phone', models.CharField(null=True,
        blank=True, max_length=200)), ('mobile_phone', models.CharField(
        null=True, blank=True, max_length=200)), ('website', models.
        CharField(null=True, blank=True, max_length=200)), ('work_phone',
        models.CharField(null=True, blank=True, max_length=200)), ('bio',
        models.CharField(null=True, blank=True, max_length=1000)), ('slug',
        models.SlugField(unique=True, max_length=255))], options={
        'verbose_name': 'user', 'abstract': False, 'verbose_name_plural':
        'users'}, bases=(models.Model,)), migrations.CreateModel(name=
        'City', fields=[('id', models.AutoField(primary_key=True,
        verbose_name='ID', auto_created=True, serialize=False)), ('name',
        models.CharField(max_length=200)), ('code', models.CharField(null=
        True, blank=True, max_length=220)), ('active', models.BooleanField(
        default=True)), ('date_created', models.DateTimeField(auto_now_add=
        True)), ('date_updated', models.DateTimeField(auto_now=True,
        auto_now_add=True))], options={}, bases=(models.Model,)),
        migrations.CreateModel(name='Country', fields=[('id', models.
        AutoField(primary_key=True, verbose_name='ID', auto_created=True,
        serialize=False)), ('name', models.CharField(max_length=200)), (
        'code', models.CharField(null=True, blank=True, max_length=220)), (
        'active', models.BooleanField(default=True)), ('date_created',
        models.DateTimeField(auto_now_add=True)), ('date_updated', models.
        DateTimeField(auto_now=True, auto_now_add=True))], options={},
        bases=(models.Model,)), migrations.CreateModel(name='State', fields
        =[('id', models.AutoField(primary_key=True, verbose_name='ID',
        auto_created=True, serialize=False)), ('name', models.CharField(
        max_length=200)), ('code', models.CharField(null=True, blank=True,
        max_length=220)), ('active', models.BooleanField(default=True)), (
        'date_created', models.DateTimeField(auto_now_add=True)), (
        'date_updated', models.DateTimeField(auto_now=True, auto_now_add=
        True)), ('country', models.ForeignKey(blank=True, null=True, to=
        'accounts.Country'))], options={}, bases=(models.Model,)),
        migrations.AddField(model_name='city', name='state', field=models.
        ForeignKey(blank=True, null=True, to='accounts.State'),
        preserve_default=True), migrations.AddField(model_name='user', name
        ='city', field=models.ForeignKey(blank=True, null=True, to=
        'accounts.City'), preserve_default=True), migrations.AddField(
        model_name='user', name='groups', field=models.ManyToManyField(
        help_text=
        'The groups this user belongs to. A user will get all permissions granted to each of his/her group.'
        , related_query_name='user', blank=True, verbose_name='groups', to=
        'auth.Group', related_name='user_set'), preserve_default=True)]

from __future__ import unicode_literals
from django.db import models, migrations
import django.utils.timezone
import django.core.validators


class Migration(migrations.Migration):
    dependencies = [('auth', '0001_initial')]
    operations = [migrations.CreateModel(name='User', fields=[('id', models
        .AutoField(primary_key=True, verbose_name='ID', auto_created=True,
        serialize=False)), ('password', models.CharField(verbose_name=
        'password', max_length=128)), ('last_login', models.DateTimeField(
        verbose_name='last login', default=django.utils.timezone.now)), (
        'is_superuser', models.BooleanField(help_text=
        'Designates that this user has all permissions without explicitly assigning them.'
        , verbose_name='superuser status', default=False)), ('username',
        models.CharField(unique=True, verbose_name='username', help_text=
        'Required. 30 characters or fewer. Letters, digits and @/./+/-/_ only.'
        , max_length=30, validators=[django.core.validators.RegexValidator(
        '^[\\w.@+-]+$', 'Enter a valid username.', 'invalid')])), (
        'first_name', models.CharField(verbose_name='first name', blank=
        True, max_length=30)), ('last_name', models.CharField(verbose_name=
        'last name', blank=True, max_length=30)), ('email', models.
        EmailField(verbose_name='email address', blank=True, max_length=75)
        ), ('is_staff', models.BooleanField(help_text=
        'Designates whether the user can log into this admin site.',
        verbose_name='staff status', default=False)), ('is_active', models.
        BooleanField(help_text=
        'Designates whether this user should be treated as active. Unselect this instead of deleting accounts.'
        , verbose_name='active', default=True)), ('date_joined', models.
        DateTimeField(verbose_name='date joined', default=django.utils.
        timezone.now)), ('photo', models.ImageField(null=True, blank=True,
        upload_to='profiles')), ('is_specialist', models.BooleanField(
        default=False)), ('is_patient', models.BooleanField(default=False)),
        ('is_relative', models.BooleanField(default=False)), ('date_birth',
        models.DateField()), ('genre', models.CharField(null=True, blank=
        True, max_length=2)), ('address', models.CharField(null=True, blank
        =True, max_length=200)), ('zip_code', models.CharField(null=True,
        blank=True, max_length=200)), ('phone', models.CharField(null=True,
        blank=True, max_length=200)), ('mobile_phone', models.CharField(
        null=True, blank=True, max_length=200)), ('website', models.
        CharField(null=True, blank=True, max_length=200)), ('work_phone',
        models.CharField(null=True, blank=True, max_length=200)), ('bio',
        models.CharField(null=True, blank=True, max_length=1000)), ('slug',
        models.SlugField(unique=True, max_length=255))], options={
        'verbose_name': 'user', 'abstract': False, 'verbose_name_plural':
        'users'}, bases=(models.Model,)), migrations.CreateModel(name=
        'City', fields=[('id', models.AutoField(primary_key=True,
        verbose_name='ID', auto_created=True, serialize=False)), ('name',
        models.CharField(max_length=200)), ('code', models.CharField(null=
        True, blank=True, max_length=220)), ('active', models.BooleanField(
        default=True)), ('date_created', models.DateTimeField(auto_now_add=
        True)), ('date_updated', models.DateTimeField(auto_now=True,
        auto_now_add=True))], options={}, bases=(models.Model,)),
        migrations.CreateModel(name='Country', fields=[('id', models.
        AutoField(primary_key=True, verbose_name='ID', auto_created=True,
        serialize=False)), ('name', models.CharField(max_length=200)), (
        'code', models.CharField(null=True, blank=True, max_length=220)), (
        'active', models.BooleanField(default=True)), ('date_created',
        models.DateTimeField(auto_now_add=True)), ('date_updated', models.
        DateTimeField(auto_now=True, auto_now_add=True))], options={},
        bases=(models.Model,)), migrations.CreateModel(name='State', fields
        =[('id', models.AutoField(primary_key=True, verbose_name='ID',
        auto_created=True, serialize=False)), ('name', models.CharField(
        max_length=200)), ('code', models.CharField(null=True, blank=True,
        max_length=220)), ('active', models.BooleanField(default=True)), (
        'date_created', models.DateTimeField(auto_now_add=True)), (
        'date_updated', models.DateTimeField(auto_now=True, auto_now_add=
        True)), ('country', models.ForeignKey(blank=True, null=True, to=
        'accounts.Country'))], options={}, bases=(models.Model,)),
        migrations.AddField(model_name='city', name='state', field=models.
        ForeignKey(blank=True, null=True, to='accounts.State'),
        preserve_default=True), migrations.AddField(model_name='user', name
        ='city', field=models.ForeignKey(blank=True, null=True, to=
        'accounts.City'), preserve_default=True), migrations.AddField(
        model_name='user', name='groups', field=models.ManyToManyField(
        help_text=
        'The groups this user belongs to. A user will get all permissions granted to each of his/her group.'
        , related_query_name='user', blank=True, verbose_name='groups', to=
        'auth.Group', related_name='user_set'), preserve_default=True)]

# -*- coding: utf-8 -*-
from __future__ import unicode_literals

from django.db import models, migrations
import django.utils.timezone
import django.core.validators


class Migration(migrations.Migration):

    dependencies = [
        ('auth', '0001_initial'),
    ]

    operations = [
        migrations.CreateModel(
            name='User',
            fields=[
                ('id', models.AutoField(primary_key=True, verbose_name='ID', auto_created=True, serialize=False)),
                ('password', models.CharField(verbose_name='password', max_length=128)),
                ('last_login', models.DateTimeField(verbose_name='last login', default=django.utils.timezone.now)),
                ('is_superuser', models.BooleanField(help_text='Designates that this user has all permissions without explicitly assigning them.', verbose_name='superuser status', default=False)),
                ('username', models.CharField(unique=True, verbose_name='username', help_text='Required. 30 characters or fewer. Letters, digits and @/./+/-/_ only.', max_length=30, validators=[django.core.validators.RegexValidator('^[\\w.@+-]+$', 'Enter a valid username.', 'invalid')])),
                ('first_name', models.CharField(verbose_name='first name', blank=True, max_length=30)),
                ('last_name', models.CharField(verbose_name='last name', blank=True, max_length=30)),
                ('email', models.EmailField(verbose_name='email address', blank=True, max_length=75)),
                ('is_staff', models.BooleanField(help_text='Designates whether the user can log into this admin site.', verbose_name='staff status', default=False)),
                ('is_active', models.BooleanField(help_text='Designates whether this user should be treated as active. Unselect this instead of deleting accounts.', verbose_name='active', default=True)),
                ('date_joined', models.DateTimeField(verbose_name='date joined', default=django.utils.timezone.now)),
                ('photo', models.ImageField(null=True, blank=True, upload_to='profiles')),
                ('is_specialist', models.BooleanField(default=False)),
                ('is_patient', models.BooleanField(default=False)),
                ('is_relative', models.BooleanField(default=False)),
                ('date_birth', models.DateField()),
                ('genre', models.CharField(null=True, blank=True, max_length=2)),
                ('address', models.CharField(null=True, blank=True, max_length=200)),
                ('zip_code', models.CharField(null=True, blank=True, max_length=200)),
                ('phone', models.CharField(null=True, blank=True, max_length=200)),
                ('mobile_phone', models.CharField(null=True, blank=True, max_length=200)),
                ('website', models.CharField(null=True, blank=True, max_length=200)),
                ('work_phone', models.CharField(null=True, blank=True, max_length=200)),
                ('bio', models.CharField(null=True, blank=True, max_length=1000)),
                ('slug', models.SlugField(unique=True, max_length=255)),
            ],
            options={
                'verbose_name': 'user',
                'abstract': False,
                'verbose_name_plural': 'users',
            },
            bases=(models.Model,),
        ),
        migrations.CreateModel(
            name='City',
            fields=[
                ('id', models.AutoField(primary_key=True, verbose_name='ID', auto_created=True, serialize=False)),
                ('name', models.CharField(max_length=200)),
                ('code', models.CharField(null=True, blank=True, max_length=220)),
                ('active', models.BooleanField(default=True)),
                ('date_created', models.DateTimeField(auto_now_add=True)),
                ('date_updated', models.DateTimeField(auto_now=True, auto_now_add=True)),
            ],
            options={
            },
            bases=(models.Model,),
        ),
        migrations.CreateModel(
            name='Country',
            fields=[
                ('id', models.AutoField(primary_key=True, verbose_name='ID', auto_created=True, serialize=False)),
                ('name', models.CharField(max_length=200)),
                ('code', models.CharField(null=True, blank=True, max_length=220)),
                ('active', models.BooleanField(default=True)),
                ('date_created', models.DateTimeField(auto_now_add=True)),
                ('date_updated', models.DateTimeField(auto_now=True, auto_now_add=True)),
            ],
            options={
            },
            bases=(models.Model,),
        ),
        migrations.CreateModel(
            name='State',
            fields=[
                ('id', models.AutoField(primary_key=True, verbose_name='ID', auto_created=True, serialize=False)),
                ('name', models.CharField(max_length=200)),
                ('code', models.CharField(null=True, blank=True, max_length=220)),
                ('active', models.BooleanField(default=True)),
                ('date_created', models.DateTimeField(auto_now_add=True)),
                ('date_updated', models.DateTimeField(auto_now=True, auto_now_add=True)),
                ('country', models.ForeignKey(blank=True, null=True, to='accounts.Country')),
            ],
            options={
            },
            bases=(models.Model,),
        ),
        migrations.AddField(
            model_name='city',
            name='state',
            field=models.ForeignKey(blank=True, null=True, to='accounts.State'),
            preserve_default=True,
        ),
        migrations.AddField(
            model_name='user',
            name='city',
            field=models.ForeignKey(blank=True, null=True, to='accounts.City'),
            preserve_default=True,
        ),
        migrations.AddField(
            model_name='user',
            name='groups',
            field=models.ManyToManyField(help_text='The groups this user belongs to. A user will get all permissions granted to each of his/her group.', related_query_name='user', blank=True, verbose_name='groups', to='auth.Group', related_name='user_set'),
            preserve_default=True,
        ),
    ]
