示例#1
0
class Migration(migrations.Migration):

    initial = True

    dependencies = [
        ('auth', '0012_alter_user_first_name_max_length'),
    ]

    operations = [
        migrations.CreateModel(
            name='CustomUser',
            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')),
                ('email', models.EmailField(max_length=254, unique=True, verbose_name='email address')),
                ('username', models.CharField(max_length=200, unique=True)),
                ('is_staff', models.BooleanField(default=False)),
                ('is_active', models.BooleanField(default=True)),
                ('date_joined', models.DateTimeField(default=django.utils.timezone.now)),
                ('is_superuser', models.BooleanField(default=False)),
                ('first_name', models.CharField(max_length=200)),
                ('last_name', models.CharField(max_length=200)),
                ('address', models.CharField(max_length=200)),
                ('latitude', models.FloatField(blank=True, default=0.0)),
                ('longitude', models.FloatField(blank=True, default=0.0)),
                ('dob', models.DateTimeField(blank=True, default=django.utils.timezone.now, null=True)),
                ('phone', models.CharField(blank=True, max_length=200)),
                ('phone_activated', models.BooleanField(default=False)),
                ('phone_activation_code', models.CharField(max_length=200)),
                ('gender', models.CharField(choices=[('Male', 'Male'), ('Female', 'Female'), ('Other', 'Other')], default='Male', max_length=200)),
                ('profile_image', models.ImageField(blank=True, upload_to='')),
                ('cover_photo', models.ImageField(blank=True, upload_to='')),
                ('facebook_link', models.CharField(blank=True, max_length=200)),
                ('twitter_link', models.CharField(blank=True, max_length=200)),
                ('instagram_link', models.CharField(blank=True, max_length=200)),
                ('youtube_link', models.CharField(blank=True, max_length=200)),
                ('linkedin_link', models.CharField(blank=True, max_length=200)),
                ('sendEmail', models.BooleanField(default=True)),
                ('sendSMS', models.BooleanField(default=True)),
                ('activation', models.CharField(max_length=200)),
                ('groups', models.ManyToManyField(blank=True, help_text='The groups this user belongs to. A user will get all permissions granted to each of their groups.', related_name='user_set', related_query_name='user', to='auth.Group', verbose_name='groups')),
                ('user_permissions', models.ManyToManyField(blank=True, help_text='Specific permissions for this user.', related_name='user_set', related_query_name='user', to='auth.Permission', verbose_name='user permissions')),
            ],
            options={
                'abstract': False,
            },
            managers=[
                ('objects', accounts.models.AccountManager()),
            ],
        ),
    ]
class Migration(migrations.Migration):

    initial = True

    dependencies = []

    operations = [
        migrations.CreateModel(
            name='Users',
            fields=[
                ('id',
                 models.AutoField(auto_created=True,
                                  primary_key=True,
                                  serialize=False,
                                  verbose_name='ID')),
                ('user_id', models.CharField(max_length=9, unique=True)),
                ('user_name', models.CharField(max_length=100)),
                ('user_age', models.IntegerField()),
                ('user_ranking', models.FloatField()),
                ('user_photo',
                 models.ImageField(
                     blank=True,
                     null=True,
                     upload_to=accounts.models.Users.upload_resume)),
            ],
        ),
    ]
class Migration(migrations.Migration):

    dependencies = [
        migrations.swappable_dependency(settings.AUTH_USER_MODEL),
        ('exams', '0005_auto_20200825_1529'),
    ]

    operations = [
        migrations.CreateModel(
            name='Submission',
            fields=[
                ('id',
                 models.AutoField(auto_created=True,
                                  primary_key=True,
                                  serialize=False,
                                  verbose_name='ID')),
                ('candidate_code',
                 models.CharField(default='GER/EDO/AN/INT/00',
                                  max_length=200)),
                ('text', models.TextField(max_length=2000)),
                ('submit_date',
                 models.DateTimeField(default=datetime.datetime(
                     2020, 8, 25, 14, 44, 24, 551457, tzinfo=utc))),
                ('score', models.FloatField(default=0)),
                ('email',
                 models.ForeignKey(blank=True,
                                   default=accounts.models.CustomUser,
                                   null=True,
                                   on_delete=django.db.models.deletion.CASCADE,
                                   to=settings.AUTH_USER_MODEL)),
            ],
        ),
        migrations.DeleteModel(name='Questions', ),
    ]
示例#4
0
class Migration(migrations.Migration):

    initial = True

    dependencies = [
        migrations.swappable_dependency(settings.AUTH_USER_MODEL),
    ]

    operations = [
        migrations.CreateModel(
            name='UserProfileInfo',
            fields=[
                ('id',
                 models.AutoField(auto_created=True,
                                  primary_key=True,
                                  serialize=False,
                                  verbose_name='ID')),
                ('name', models.CharField(max_length=50)),
                ('yearofpassing',
                 models.IntegerField(choices=[(2019, 2019), (2020, 2020),
                                              (2021, 2021), (2022, 2022),
                                              (2023, 2023), (2024, 2024),
                                              (2025, 2025), (2026, 2026),
                                              (2027, 2027), (2028, 2028)],
                                     default=accounts.models.current_year,
                                     verbose_name='year')),
                ('resume', models.ImageField(upload_to='resumes')),
                ('cgpa', models.FloatField()),
                ('user',
                 models.OneToOneField(
                     on_delete=django.db.models.deletion.CASCADE,
                     to=settings.AUTH_USER_MODEL)),
            ],
        ),
    ]
示例#5
0
class Migration(migrations.Migration):

    initial = True

    dependencies = []

    operations = [
        migrations.CreateModel(
            name='Account',
            fields=[
                ('id',
                 models.AutoField(auto_created=True,
                                  primary_key=True,
                                  serialize=False,
                                  verbose_name='ID')),
                ('password',
                 models.CharField(max_length=128, verbose_name='password')),
                ('email',
                 models.EmailField(max_length=60,
                                   unique=True,
                                   verbose_name='email')),
                ('username', models.CharField(max_length=30, unique=True)),
                ('image',
                 models.ImageField(upload_to=accounts.models.upload_location)),
                ('date_joined',
                 models.DateTimeField(auto_now_add=True,
                                      verbose_name='date_joined')),
                ('city', models.CharField(max_length=255)),
                ('latitude', models.FloatField(max_length=100, null=True)),
                ('longitude', models.FloatField(max_length=100, null=True)),
                ('address', models.TextField(max_length=255)),
                ('last_login',
                 models.DateTimeField(auto_now=True,
                                      verbose_name='last_login')),
                ('is_shop_owner', models.BooleanField(default=False)),
                ('is_bearer', models.BooleanField(default=False)),
                ('is_admin', models.BooleanField(default=False)),
                ('is_active', models.BooleanField(default=True)),
                ('is_staff', models.BooleanField(default=False)),
                ('is_superuser', models.BooleanField(default=False)),
                ('user_slug', models.SlugField(blank=True, unique=True)),
            ],
            options={
                'abstract': False,
            },
        ),
    ]
示例#6
0
class Order(Cart):
    order_owner = models.ForeignKey(User, related_name='orders', on_delete=models.DO_NOTHING)
    driver=models.ForeignKey(User,related_name='delivery_orders',on_delete=models.SET_NULL,null=True)
    location = models.ForeignKey(UserLocation, related_name="orders", on_delete=models.DO_NOTHING)
    order_status = models.CharField(max_length=100, choices=ORDER_STATUS,default='added')
    payment_method = models.CharField(max_length=100, choices=PAYMENT_METHOD, default='cash')
    orderID = models.IntegerField()
    date = models.DateField(auto_now=True)
    sub_total = models.FloatField() # Without delivery fees
    total = models.FloatField()  # sub_total + delivery fees
    delivery_notes = models.TextField()
    payment_status = models.CharField(max_length=50, choices=PAYMENT_STATUS, default='not_paid')
    seller=models.ManyToManyField(Seller,related_name='seller_orders')
    # custome_service

    def __str__(self):
        return str(self.order_owner.first_name + ' ' + self.order_owner.last_name + ' ' + str(self.orderID))
        
    @property
    def customer_phone(self):
        return str(self.order_owner.phone)
示例#7
0
class Promocode(models.Model):
    code = models.CharField(max_length=10, unique=True)
    sale = models.FloatField(default=0.1)
    end_date = models.DateField()
    status = models.CharField(choices=(
        ('active', 'active'),
        ('dead', 'dead'),
    ),
                              max_length=10,
                              default='active')

    def __str__(self):
        return self.code + ' ' + self.status
示例#8
0
class Migration(migrations.Migration):

    initial = True

    dependencies = [
        migrations.swappable_dependency(settings.AUTH_USER_MODEL),
    ]

    operations = [
        migrations.CreateModel(
            name='City',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('name', models.CharField(max_length=200)),
                ('country', models.CharField(max_length=200)),
            ],
        ),
        migrations.CreateModel(
            name='Profile',
            fields=[
                ('id', models.AutoField(primary_key=True, serialize=False)),
                ('image', models.ImageField(default='photos/profiles/default.png', max_length=200, upload_to=accounts.models.get_filename_profile)),
                ('str_id', models.CharField(blank=True, default=None, max_length=40, null=True)),
                ('gender', models.CharField(blank=True, choices=[('M', 'Male'), ('F', 'Female')], default=None, max_length=1, null=True)),
                ('birthday', models.DateField(blank=True, null=True)),
                ('description', models.TextField(blank=True, null=True)),
                ('new_email', models.EmailField(blank=True, max_length=254, null=True)),
                ('is_email_verified', models.BooleanField(default=False)),
                ('mobile', models.IntegerField()),
                ('is_mobile_verified', models.NullBooleanField(default=None)),
                ('last_modified', models.DateTimeField(auto_now=True, null=True)),
                ('order', models.SmallIntegerField(default=1, help_text='Set to 1 for this collection to be the first, 2 to be second etc.')),
                ('big_field', models.BigIntegerField()),
                ('price', models.DecimalField(decimal_places=2, max_digits=15)),
                ('weight', models.FloatField(null=True)),
                ('facebook_url', models.URLField(max_length=255)),
                ('city', models.ForeignKey(default=None, on_delete=django.db.models.deletion.DO_NOTHING, to='accounts.City')),
                ('user', models.OneToOneField(on_delete=django.db.models.deletion.DO_NOTHING, to=settings.AUTH_USER_MODEL)),
            ],
        ),
    ]
示例#9
0
class Migration(migrations.Migration):

    initial = True

    dependencies = [
        ('auth', '0011_update_proxy_permissions'),
    ]

    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')),
                ('is_superuser',
                 models.BooleanField(
                     default=False,
                     help_text=
                     'Designates that this user has all permissions without explicitly assigning them.',
                     verbose_name='superuser status')),
                ('username',
                 models.CharField(
                     error_messages={
                         'unique': 'A user with that username already exists.'
                     },
                     help_text=
                     'Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only.',
                     max_length=150,
                     unique=True,
                     validators=[
                         django.contrib.auth.validators.
                         UnicodeUsernameValidator()
                     ],
                     verbose_name='username')),
                ('email',
                 models.EmailField(blank=True,
                                   max_length=254,
                                   verbose_name='email address')),
                ('is_staff',
                 models.BooleanField(
                     default=False,
                     help_text=
                     'Designates whether the user can log into this admin site.',
                     verbose_name='staff status')),
                ('is_active',
                 models.BooleanField(
                     default=True,
                     help_text=
                     'Designates whether this user should be treated as active. Unselect this instead of deleting accounts.',
                     verbose_name='active')),
                ('date_joined',
                 models.DateTimeField(default=django.utils.timezone.now,
                                      verbose_name='date joined')),
                ('phone_number',
                 models.CharField(blank=True,
                                  max_length=30,
                                  null=True,
                                  verbose_name='Phone number')),
                ('file',
                 models.ImageField(blank=True,
                                   null=True,
                                   upload_to=accounts.models.User.upload_to)),
                ('first_name',
                 models.CharField(blank=True,
                                  max_length=30,
                                  null=True,
                                  verbose_name='first name')),
                ('last_name',
                 models.CharField(blank=True,
                                  max_length=150,
                                  null=True,
                                  verbose_name='last name')),
                ('role',
                 models.CharField(choices=[('user', 'Account User'),
                                           ('manager', 'Account Manager')],
                                  default='manager',
                                  max_length=7,
                                  verbose_name='Role')),
                ('is_account_manager', models.BooleanField(default=False)),
            ],
            options={
                'verbose_name': 'User',
                'db_table': 'auth_user',
            },
        ),
        migrations.CreateModel(
            name='Account',
            fields=[
                ('id',
                 models.UUIDField(default=uuid.uuid4,
                                  editable=False,
                                  primary_key=True,
                                  serialize=False)),
                ('credits',
                 models.IntegerField(default=0, verbose_name='Credits')),
                ('company_name',
                 models.CharField(default='',
                                  max_length=50,
                                  verbose_name='Company Name')),
                ('company_size',
                 models.SmallIntegerField(default=1,
                                          verbose_name='Company Size')),
                ('enterprise_price',
                 models.FloatField(default=0.0,
                                   verbose_name='Enterprise price')),
                ('enterprise_credits',
                 models.IntegerField(default=0,
                                     verbose_name='Enterprise credits')),
                ('created', models.DateTimeField(auto_now_add=True)),
            ],
        ),
        migrations.CreateModel(
            name='Number',
            fields=[
                ('id',
                 models.AutoField(auto_created=True,
                                  primary_key=True,
                                  serialize=False,
                                  verbose_name='ID')),
                ('phone_number',
                 models.CharField(blank=True,
                                  max_length=30,
                                  null=True,
                                  verbose_name='Phone number')),
                ('created', models.DateTimeField(auto_now=True)),
                ('account',
                 models.ForeignKey(blank=True,
                                   null=True,
                                   on_delete=django.db.models.deletion.PROTECT,
                                   related_name='numbers',
                                   to='accounts.Account',
                                   verbose_name='Account')),
            ],
        ),
        migrations.CreateModel(
            name='Activation',
            fields=[
                ('id',
                 models.AutoField(auto_created=True,
                                  primary_key=True,
                                  serialize=False,
                                  verbose_name='ID')),
                ('created_at', models.DateTimeField(auto_now_add=True)),
                ('code', models.CharField(max_length=20, unique=True)),
                ('email', models.EmailField(blank=True, max_length=254)),
                ('user',
                 models.ForeignKey(on_delete=django.db.models.deletion.CASCADE,
                                   to=settings.AUTH_USER_MODEL)),
            ],
        ),
        migrations.AddField(
            model_name='user',
            name='account',
            field=models.ForeignKey(
                blank=True,
                null=True,
                on_delete=django.db.models.deletion.SET_NULL,
                related_name='users',
                to='accounts.Account',
                verbose_name='Account'),
        ),
        migrations.AddField(
            model_name='user',
            name='groups',
            field=models.ManyToManyField(
                blank=True,
                help_text=
                'The groups this user belongs to. A user will get all permissions granted to each of their groups.',
                related_name='user_set',
                related_query_name='user',
                to='auth.Group',
                verbose_name='groups'),
        ),
        migrations.AddField(
            model_name='user',
            name='user_permissions',
            field=models.ManyToManyField(
                blank=True,
                help_text='Specific permissions for this user.',
                related_name='user_set',
                related_query_name='user',
                to='auth.Permission',
                verbose_name='user permissions'),
        ),
    ]
示例#10
0
class Migration(migrations.Migration):

    initial = True

    dependencies = [
        ('auth', '0009_alter_user_last_name_max_length'),
        ('currencies', '0001_initial'),
    ]

    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')),
                ('date_joined',
                 models.DateTimeField(default=django.utils.timezone.now,
                                      verbose_name='date joined')),
                ('email',
                 models.EmailField(max_length=254, null=True, unique=True)),
                ('first_name',
                 models.CharField(blank=True, max_length=50, null=True)),
                ('last_name',
                 models.CharField(blank=True, max_length=50, null=True)),
                ('is_superuser',
                 models.BooleanField(
                     default=False,
                     help_text=
                     'Is the user allowed to have access to the admin',
                     verbose_name='superuser status')),
                ('is_staff',
                 models.BooleanField(
                     default=False,
                     help_text=
                     'Is the user allowed to have access to the admin',
                     verbose_name='staff status')),
                ('is_active',
                 models.BooleanField(
                     default=True,
                     help_text='Is the user account currently active',
                     verbose_name='active')),
                ('groups',
                 models.ManyToManyField(
                     blank=True,
                     help_text=
                     'The groups this user belongs to. A user will get all permissions granted to each of their groups.',
                     related_name='user_set',
                     related_query_name='user',
                     to='auth.Group',
                     verbose_name='groups')),
                ('user_permissions',
                 models.ManyToManyField(
                     blank=True,
                     help_text='Specific permissions for this user.',
                     related_name='user_set',
                     related_query_name='user',
                     to='auth.Permission',
                     verbose_name='user permissions')),
            ],
            options={
                'verbose_name': 'user',
                'verbose_name_plural': 'users',
                'abstract': False,
            },
            managers=[
                ('objects', accounts.models.UserManager()),
            ],
        ),
        migrations.CreateModel(
            name='Profile',
            fields=[
                ('id',
                 models.AutoField(auto_created=True,
                                  primary_key=True,
                                  serialize=False,
                                  verbose_name='ID')),
                ('binance_api_key',
                 models.CharField(blank=True, default='', max_length=300)),
                ('binance_secret_key',
                 models.CharField(blank=True, default='', max_length=300)),
                ('hitbtc_api_key',
                 models.CharField(blank=True, default='', max_length=300)),
                ('hitbtc_secret_key',
                 models.CharField(blank=True, default='', max_length=300)),
                ('poloniex_api_key',
                 models.CharField(blank=True, default='', max_length=300)),
                ('poloniex_secret_key',
                 models.CharField(blank=True, default='', max_length=300)),
                ('coinbase_api_key',
                 models.CharField(blank=True, default='', max_length=300)),
                ('coinbase_secret_key',
                 models.CharField(blank=True, default='', max_length=300)),
                ('user',
                 models.OneToOneField(
                     on_delete=django.db.models.deletion.CASCADE,
                     to=settings.AUTH_USER_MODEL)),
            ],
        ),
        migrations.CreateModel(
            name='Trade',
            fields=[
                ('id',
                 models.AutoField(auto_created=True,
                                  primary_key=True,
                                  serialize=False,
                                  verbose_name='ID')),
                ('quantity', models.FloatField(default=0)),
                ('price', models.FloatField(default=0)),
                ('time', models.DateTimeField(default=None, null=True)),
                ('currency_pair',
                 models.ForeignKey(on_delete=django.db.models.deletion.CASCADE,
                                   to='currencies.CurrencyPair')),
                ('user',
                 models.ForeignKey(on_delete=django.db.models.deletion.CASCADE,
                                   to=settings.AUTH_USER_MODEL)),
            ],
        ),
    ]
示例#11
0
class Migration(migrations.Migration):

    initial = True

    dependencies = [
        ('auth', '0011_update_proxy_permissions'),
    ]

    operations = [
        migrations.CreateModel(
            name='UserList',
            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')),
                ('is_superuser', models.BooleanField(default=False, help_text='Designates that this user has all permissions without explicitly assigning them.', verbose_name='superuser status')),
                ('username', models.CharField(error_messages={'unique': 'A user with that username already exists.'}, help_text='Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only.', max_length=150, unique=True, validators=[django.contrib.auth.validators.UnicodeUsernameValidator()], verbose_name='username')),
                ('first_name', models.CharField(blank=True, max_length=30, verbose_name='first name')),
                ('last_name', models.CharField(blank=True, max_length=150, verbose_name='last name')),
                ('email', models.EmailField(blank=True, max_length=254, unique=True, verbose_name='email address')),
                ('is_staff', models.BooleanField(default=False, help_text='Designates whether the user can log into this admin site.', verbose_name='staff status')),
                ('is_active', models.BooleanField(default=True, help_text='Designates whether this user should be treated as active. Unselect this instead of deleting accounts.', verbose_name='active')),
                ('date_joined', models.DateTimeField(default=django.utils.timezone.now, verbose_name='date joined')),
                ('UserMiddleName', models.CharField(max_length=100, null=True)),
                ('ContactCell', models.CharField(max_length=100, null=True)),
            ],
            options={
                'verbose_name': 'user',
                'verbose_name_plural': 'users',
                'abstract': False,
            },
            managers=[
                ('objects', django.contrib.auth.models.UserManager()),
            ],
        ),
        migrations.CreateModel(
            name='AssetsDetailList',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('FileName', models.FileField(upload_to=accounts.models.get_upload_path)),
                ('FileExtension', models.CharField(default=None, max_length=50, null=True)),
                ('AddedDate', models.DateField(auto_now_add=True)),
                ('UpdatedDate', models.DateField(auto_now_add=True)),
                ('IsActive', models.BooleanField(default=True)),
                ('AddedBy', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
            ],
        ),
        migrations.CreateModel(
            name='CategoryList',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('CategoryName', models.CharField(max_length=300)),
                ('AddedDate', models.DateField(auto_now_add=True)),
                ('UpdatedDate', models.DateField(auto_now_add=True, null=True)),
                ('IsActive', models.BooleanField(default=True)),
                ('AddedBy', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
                ('UpdatedBy', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='Category_Updated_By', to=settings.AUTH_USER_MODEL)),
            ],
        ),
        migrations.CreateModel(
            name='CityList',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('City', models.CharField(max_length=100)),
                ('Latitude', models.FloatField()),
                ('Longitude', models.FloatField()),
                ('AddedDate', models.DateField(auto_now_add=True)),
                ('UpdatedDate', models.DateField(auto_now_add=True)),
                ('IsActive', models.BooleanField(default=True)),
                ('AddedBy', models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, to=settings.AUTH_USER_MODEL)),
            ],
        ),
        migrations.CreateModel(
            name='CountryList',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('Country', models.CharField(blank=True, max_length=100, null=True)),
                ('IsActive', models.BooleanField(default=True)),
            ],
        ),
        migrations.CreateModel(
            name='ForceCloseCategoryList',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('ForceCloseCategoryName', models.CharField(max_length=300)),
                ('DefaultValue', models.CharField(max_length=300)),
                ('AddedDate', models.DateField(auto_now_add=True)),
                ('UpdatedDate', models.DateField(auto_now_add=True)),
                ('IsActive', models.BooleanField(default=True)),
                ('AddedBy', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
                ('UpdatedBy', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='Force_Close_Updated_By', to=settings.AUTH_USER_MODEL)),
            ],
        ),
        migrations.CreateModel(
            name='LanguageList',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('LanguageName', models.CharField(max_length=100)),
            ],
        ),
        migrations.CreateModel(
            name='OTP',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('Otp', models.CharField(max_length=10)),
                ('expire_minute', models.CharField(max_length=100)),
                ('user_email', models.CharField(max_length=100)),
                ('doc', models.DateTimeField(auto_now_add=True)),
            ],
        ),
        migrations.CreateModel(
            name='SubCategoryList',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('SubCategoryName', models.CharField(max_length=300)),
                ('AddedDate', models.DateField(auto_now_add=True)),
                ('UpdatedDate', models.DateField(auto_now_add=True, null=True)),
                ('IsActive', models.BooleanField(default=True)),
                ('AddedBy', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
                ('Category', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='accounts.CategoryList')),
                ('UpdatedBy', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='SubCat_Updated_By', to=settings.AUTH_USER_MODEL)),
            ],
        ),
        migrations.CreateModel(
            name='TopicList',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('TopicName', models.CharField(max_length=300)),
                ('content', tinymce.models.HTMLField()),
                ('TopicDate', models.DateField(auto_now_add=True)),
                ('AddedDate', models.DateField(auto_now_add=True)),
                ('UpdatedDate', models.DateField(auto_now_add=True, null=True)),
                ('IsActive', models.BooleanField(default=True)),
                ('IsClose', models.BooleanField(default=False)),
                ('CloseDate', models.DateField(auto_now_add=True, null=True)),
                ('ForceCloseReason', models.CharField(max_length=3999, null=True)),
                ('IsNotification', models.BooleanField(default=True)),
                ('SMSText', models.CharField(max_length=150, null=True)),
                ('WhatsAppText', models.CharField(max_length=1000, null=True)),
                ('AddedBy', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
                ('Category', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='accounts.CategoryList')),
                ('City', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='accounts.CityList')),
                ('CloseBy', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='Topic_Closed_By', to=settings.AUTH_USER_MODEL)),
                ('ForceCloseCategory', models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, to='accounts.ForceCloseCategoryList')),
                ('UpdatedBy', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='Topic_Updated_By', to=settings.AUTH_USER_MODEL)),
                ('User', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='Topic_Subscriber', to=settings.AUTH_USER_MODEL)),
            ],
        ),
        migrations.CreateModel(
            name='UserType',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('UserType', models.CharField(choices=[('Customer', 'Customer'), ('Professional', 'Professional')], default='Customer', max_length=15)),
                ('UpdatedDate', models.DateField(auto_now_add=True)),
                ('IsActive', models.BooleanField(default=True)),
            ],
        ),
        migrations.CreateModel(
            name='TopicSubCats',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('Topic', models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, to='accounts.TopicList')),
                ('subcat', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='accounts.SubCategoryList')),
            ],
        ),
        migrations.CreateModel(
            name='TopicDetailList',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('TopicDate', models.DateField(auto_now_add=True)),
                ('Selected', models.BooleanField(default=False)),
                ('AddedDate', models.DateField(auto_now_add=True)),
                ('UpdatedDate', models.DateField(auto_now_add=True)),
                ('IsActive', models.BooleanField(default=True)),
                ('AddedBy', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
                ('Topic', models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, to='accounts.TopicList')),
                ('UpdatedBy', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='Topic_details_Updated_By', to=settings.AUTH_USER_MODEL)),
                ('User', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='Topic_details_Subscriber', to=settings.AUTH_USER_MODEL)),
            ],
        ),
        migrations.CreateModel(
            name='TemplateTypeList',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('SMSTemplateType', models.CharField(max_length=300)),
                ('WhatsAppTemplateType', models.CharField(max_length=1000)),
                ('AddedDate', models.DateField(auto_now_add=True)),
                ('UpdatedDate', models.DateField(auto_now_add=True)),
                ('IsActive', models.BooleanField(default=True)),
                ('AddedBy', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
                ('UpdatedBy', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='Template_Updated_By', to=settings.AUTH_USER_MODEL)),
            ],
        ),
        migrations.CreateModel(
            name='SubscriptionList',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('SubscriptionName', models.CharField(max_length=300)),
                ('AddedDate', models.DateField(auto_now_add=True)),
                ('UpdatedDate', models.DateField(auto_now_add=True)),
                ('IsActive', models.BooleanField(default=True)),
                ('AddedBy', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
                ('UpdatedBy', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='Subscription_Updated_By', to=settings.AUTH_USER_MODEL)),
            ],
        ),
        migrations.CreateModel(
            name='SubscriptionItemList',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('SubscriptionItemName', models.CharField(max_length=300)),
                ('DefaultValue', models.CharField(max_length=300)),
                ('AddedDate', models.DateField(auto_now_add=True)),
                ('UpdatedDate', models.DateField(auto_now_add=True)),
                ('IsActive', models.BooleanField(default=True)),
                ('AddedBy', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
                ('UpdatedBy', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='Subscription_Item_Updated_By', to=settings.AUTH_USER_MODEL)),
            ],
        ),
        migrations.CreateModel(
            name='SubscriptionDetailList',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('SubscriptionItemItem', models.CharField(max_length=300)),
                ('ConfiguredValue', models.CharField(max_length=300)),
                ('AddedDate', models.DateField(auto_now_add=True)),
                ('UpdatedDate', models.DateField(auto_now_add=True)),
                ('IsActive', models.BooleanField(default=True)),
                ('AddedBy', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
                ('UpdatedBy', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='Subscription_Details_Updated_By', to=settings.AUTH_USER_MODEL)),
                ('User', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='Subscription_Details_Subscriber', to=settings.AUTH_USER_MODEL)),
            ],
        ),
        migrations.CreateModel(
            name='StateList',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('State', models.CharField(blank=True, max_length=100, null=True)),
                ('IsActive', models.BooleanField(default=True)),
                ('CountryId', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, to='accounts.CountryList')),
            ],
        ),
        migrations.CreateModel(
            name='ReviewList',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('ReviewDate', models.DateField(auto_now_add=True)),
                ('ReviewNote', models.CharField(max_length=3999)),
                ('AddedDate', models.DateField(auto_now_add=True)),
                ('UpdatedDate', models.DateField(auto_now_add=True, null=True)),
                ('IsActive', models.BooleanField(default=True)),
                ('IsAdminApproved', models.BooleanField(default=True)),
                ('AddedBy', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
                ('AssetsDetail', models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, to='accounts.AssetsDetailList')),
                ('Category', models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, to='accounts.CategoryList')),
                ('City', models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, to='accounts.CityList')),
                ('FromUser', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='Review_From_User', to=settings.AUTH_USER_MODEL)),
                ('SubCategory', models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, to='accounts.SubCategoryList')),
                ('ToUser', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='Review_To_User', to=settings.AUTH_USER_MODEL)),
                ('Topic', models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, to='accounts.TopicList')),
                ('UpdatedBy', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='Review_Updated_By', to=settings.AUTH_USER_MODEL)),
                ('User', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='Review_Subscriber', to=settings.AUTH_USER_MODEL)),
            ],
        ),
        migrations.CreateModel(
            name='ResponseTypeList',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('ResponseType', models.CharField(max_length=100)),
                ('AddedDate', models.DateField(auto_now_add=True)),
                ('UpdatedDate', models.DateField(auto_now_add=True)),
                ('IsActive', models.BooleanField(default=True)),
                ('AddedBy', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
                ('UpdatedBy', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='Response_Updated_By', to=settings.AUTH_USER_MODEL)),
            ],
        ),
        migrations.CreateModel(
            name='NotificationList',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('NotificationDate', models.DateField(auto_now_add=True)),
                ('AddedDate', models.DateField(auto_now_add=True)),
                ('UpdatedDate', models.DateField(auto_now_add=True)),
                ('IsActive', models.BooleanField(default=True)),
                ('AddedBy', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
                ('AssetsDetail', models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, to='accounts.AssetsDetailList')),
                ('Category', models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, to='accounts.CategoryList')),
                ('City', models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, to='accounts.CityList')),
                ('SubCategory', models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, to='accounts.SubCategoryList')),
                ('ToUser', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='Notification_To_User', to=settings.AUTH_USER_MODEL)),
                ('Topic', models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, to='accounts.TopicList')),
                ('UpdatedBy', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='Notification_Updated_By', to=settings.AUTH_USER_MODEL)),
                ('User', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='Notification_Subscriber', to=settings.AUTH_USER_MODEL)),
            ],
        ),
        migrations.AddField(
            model_name='citylist',
            name='StateId',
            field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, to='accounts.StateList'),
        ),
        migrations.AddField(
            model_name='citylist',
            name='UpdatedBy',
            field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='City_Updated_By', to=settings.AUTH_USER_MODEL),
        ),
        migrations.CreateModel(
            name='ChatRecord',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('message', models.CharField(max_length=400)),
                ('side', models.BooleanField(blank=True, null=True)),
                ('room_name', models.CharField(max_length=300)),
                ('TimeStamp', models.DateTimeField(auto_now_add=True)),
                ('IsActive', models.BooleanField(default=True)),
                ('client', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
                ('professional', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='professional', to=settings.AUTH_USER_MODEL)),
                ('topic', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='accounts.TopicList')),
            ],
        ),
        migrations.CreateModel(
            name='CategoryInCity',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('category', models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, to='accounts.CategoryList')),
                ('city', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='accounts.CityList')),
            ],
        ),
        migrations.AddField(
            model_name='assetsdetaillist',
            name='Topic',
            field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, to='accounts.TopicList'),
        ),
        migrations.AddField(
            model_name='assetsdetaillist',
            name='UpdatedBy',
            field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='Assets_Updated_By', to=settings.AUTH_USER_MODEL),
        ),
        migrations.CreateModel(
            name='AppliationList',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('ApplicationName', models.CharField(max_length=100)),
                ('Language', models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, to='accounts.LanguageList')),
            ],
        ),
        migrations.CreateModel(
            name='AddressList',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('Street', models.CharField(blank=True, max_length=500, null=True)),
                ('ZipCode', models.CharField(blank=True, max_length=50, null=True)),
                ('AddedDate', models.DateField(auto_now_add=True)),
                ('IsActive', models.BooleanField(default=True)),
                ('CityId', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, to='accounts.CityList')),
                ('user', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
            ],
        ),
        migrations.AddField(
            model_name='userlist',
            name='Application',
            field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, to='accounts.AppliationList'),
        ),
        migrations.AddField(
            model_name='userlist',
            name='groups',
            field=models.ManyToManyField(blank=True, help_text='The groups this user belongs to. A user will get all permissions granted to each of their groups.', related_name='user_set', related_query_name='user', to='auth.Group', verbose_name='groups'),
        ),
        migrations.AddField(
            model_name='userlist',
            name='user_permissions',
            field=models.ManyToManyField(blank=True, help_text='Specific permissions for this user.', related_name='user_set', related_query_name='user', to='auth.Permission', verbose_name='user permissions'),
        ),
        migrations.AddField(
            model_name='userlist',
            name='usertype',
            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='accounts.UserType'),
        ),
    ]
class Migration(migrations.Migration):

    initial = True

    dependencies = [
        migrations.swappable_dependency(settings.AUTH_USER_MODEL),
    ]

    operations = [
        migrations.CreateModel(
            name='FAQCategory',
            fields=[
                ('id',
                 models.AutoField(auto_created=True,
                                  primary_key=True,
                                  serialize=False,
                                  verbose_name='ID')),
                ('name', models.CharField(max_length=10)),
            ],
        ),
        migrations.CreateModel(
            name='FAQuestion',
            fields=[
                ('id',
                 models.AutoField(auto_created=True,
                                  primary_key=True,
                                  serialize=False,
                                  verbose_name='ID')),
                ('title', models.CharField(max_length=100)),
                ('answer', models.TextField(blank=True, null=True)),
                ('category',
                 models.ForeignKey(on_delete=django.db.models.deletion.CASCADE,
                                   to='accounts.FAQCategory')),
            ],
        ),
        migrations.CreateModel(
            name='Gift',
            fields=[
                ('id',
                 models.AutoField(auto_created=True,
                                  primary_key=True,
                                  serialize=False,
                                  verbose_name='ID')),
                ('name', models.CharField(max_length=20)),
                ('price', models.PositiveIntegerField(default=0)),
                ('img', models.ImageField(upload_to='Gift/')),
            ],
        ),
        migrations.CreateModel(
            name='GiftCategory',
            fields=[
                ('id',
                 models.AutoField(auto_created=True,
                                  primary_key=True,
                                  serialize=False,
                                  verbose_name='ID')),
                ('name', models.CharField(max_length=10)),
            ],
        ),
        migrations.CreateModel(
            name='GiftRequest',
            fields=[
                ('id',
                 models.AutoField(auto_created=True,
                                  primary_key=True,
                                  serialize=False,
                                  verbose_name='ID')),
                ('is_complete', models.BooleanField(default=False)),
                ('created_at', models.DateTimeField(auto_now_add=True)),
                ('updated_at', models.DateTimeField(auto_now=True)),
                ('gift',
                 models.ForeignKey(on_delete=django.db.models.deletion.CASCADE,
                                   to='accounts.Gift')),
            ],
        ),
        migrations.CreateModel(
            name='Membership',
            fields=[
                ('id',
                 models.AutoField(auto_created=True,
                                  primary_key=True,
                                  serialize=False,
                                  verbose_name='ID')),
                ('level', models.CharField(max_length=20)),
            ],
        ),
        migrations.CreateModel(
            name='MembershipCard',
            fields=[
                ('id',
                 models.AutoField(auto_created=True,
                                  primary_key=True,
                                  serialize=False,
                                  verbose_name='ID')),
                ('expiration', models.DateTimeField(blank=True, null=True)),
                ('created_at', models.DateTimeField(auto_now_add=True)),
                ('membership',
                 models.ForeignKey(on_delete=django.db.models.deletion.CASCADE,
                                   to='accounts.Membership')),
                ('user',
                 models.ForeignKey(on_delete=django.db.models.deletion.CASCADE,
                                   to=settings.AUTH_USER_MODEL)),
            ],
        ),
        migrations.CreateModel(
            name='Profile',
            fields=[
                ('id',
                 models.AutoField(auto_created=True,
                                  primary_key=True,
                                  serialize=False,
                                  verbose_name='ID')),
                ('code', models.CharField(max_length=10)),
                ('img',
                 models.ImageField(
                     blank=True,
                     null=True,
                     upload_to=accounts.models.profile_img_name)),
                ('nick_name',
                 models.CharField(blank=True, max_length=8, null=True)),
                ('sex',
                 models.CharField(blank=True,
                                  choices=[('male', '남'), ('female', '여')],
                                  max_length=10,
                                  null=True)),
                ('birth', models.DateField(blank=True, null=True)),
                ('phone', models.CharField(blank=True,
                                           max_length=20,
                                           null=True)),
                ('is_blacklist', models.BooleanField(default=False)),
                ('created_at', models.DateTimeField(auto_now_add=True)),
                ('updated_at', models.DateTimeField(auto_now=True)),
                ('reported_set',
                 models.ManyToManyField(blank=True,
                                        related_name='reported_profile_set',
                                        to=settings.AUTH_USER_MODEL)),
                ('user',
                 models.OneToOneField(
                     on_delete=django.db.models.deletion.CASCADE,
                     to=settings.AUTH_USER_MODEL)),
            ],
        ),
        migrations.CreateModel(
            name='RewardHistory',
            fields=[
                ('id',
                 models.AutoField(auto_created=True,
                                  primary_key=True,
                                  serialize=False,
                                  verbose_name='ID')),
                ('reason', models.CharField(max_length=30)),
                ('amount', models.FloatField()),
                ('status',
                 models.CharField(choices=[('ready', '지급대기'),
                                           ('complete', '지급완료'),
                                           ('reject', '취소/거절')],
                                  default='ready',
                                  max_length=10)),
                ('is_complete', models.BooleanField(default=False)),
                ('created_at', models.DateTimeField(auto_now_add=True)),
                ('updated_at', models.DateTimeField(auto_now=True)),
                ('user',
                 models.ForeignKey(on_delete=django.db.models.deletion.CASCADE,
                                   related_name='reward_history_set',
                                   to=settings.AUTH_USER_MODEL)),
            ],
        ),
        migrations.CreateModel(
            name='UserReward',
            fields=[
                ('id',
                 models.AutoField(auto_created=True,
                                  primary_key=True,
                                  serialize=False,
                                  verbose_name='ID')),
                ('reward', models.IntegerField(default=0, editable=False)),
                ('user',
                 models.OneToOneField(
                     on_delete=django.db.models.deletion.CASCADE,
                     related_name='reward',
                     to=settings.AUTH_USER_MODEL)),
            ],
        ),
        migrations.AddField(
            model_name='giftrequest',
            name='history',
            field=models.OneToOneField(
                on_delete=django.db.models.deletion.CASCADE,
                to='accounts.RewardHistory'),
        ),
        migrations.AddField(
            model_name='giftrequest',
            name='user',
            field=models.ForeignKey(
                on_delete=django.db.models.deletion.CASCADE,
                to=settings.AUTH_USER_MODEL),
        ),
        migrations.AddField(
            model_name='gift',
            name='category',
            field=models.ForeignKey(
                blank=True,
                null=True,
                on_delete=django.db.models.deletion.CASCADE,
                to='accounts.GiftCategory'),
        ),
    ]
示例#13
0
class Migration(migrations.Migration):

    initial = True

    dependencies = [
        migrations.swappable_dependency(settings.AUTH_USER_MODEL),
    ]

    operations = [
        migrations.CreateModel(
            name='HomeDetails',
            fields=[
                ('id',
                 models.AutoField(auto_created=True,
                                  primary_key=True,
                                  serialize=False,
                                  verbose_name='ID')),
                ('rent', models.FloatField(default=0.0)),
                ('title', models.CharField(max_length=64, null=True)),
                ('description',
                 models.TextField(blank=True, max_length=256, null=True)),
                ('imgae',
                 models.ImageField(
                     blank=True,
                     null=True,
                     upload_to=accounts.models.HomeDetails.home_image)),
            ],
        ),
        migrations.CreateModel(
            name='HomeRentDetails',
            fields=[
                ('id',
                 models.AutoField(auto_created=True,
                                  primary_key=True,
                                  serialize=False,
                                  verbose_name='ID')),
                ('start_date', models.DateField(null=True)),
                ('end_date', models.DateField(null=True)),
                ('description',
                 models.TextField(blank=True, max_length=256, null=True)),
                ('home',
                 models.ForeignKey(on_delete=django.db.models.deletion.CASCADE,
                                   to='accounts.HomeDetails')),
            ],
        ),
        migrations.CreateModel(
            name='UserProfile',
            fields=[
                ('id',
                 models.AutoField(auto_created=True,
                                  primary_key=True,
                                  serialize=False,
                                  verbose_name='ID')),
                ('phone', models.CharField(blank=True,
                                           max_length=14,
                                           null=True)),
                ('address',
                 models.TextField(blank=True, max_length=128, null=True)),
                ('user',
                 models.ForeignKey(on_delete=django.db.models.deletion.CASCADE,
                                   to=settings.AUTH_USER_MODEL)),
            ],
        ),
        migrations.AddField(
            model_name='homerentdetails',
            name='renter',
            field=models.ForeignKey(
                on_delete=django.db.models.deletion.CASCADE,
                related_name='renter',
                to='accounts.UserProfile'),
        ),
        migrations.AddField(
            model_name='homedetails',
            name='owner',
            field=models.ForeignKey(
                on_delete=django.db.models.deletion.CASCADE,
                to='accounts.UserProfile'),
        ),
    ]
示例#14
0
class Migration(migrations.Migration):

    initial = True

    dependencies = [
        ('auth', '0011_update_proxy_permissions'),
    ]

    operations = [
        migrations.CreateModel(
            name='WavFile',
            fields=[
                ('id',
                 models.AutoField(auto_created=True,
                                  primary_key=True,
                                  serialize=False,
                                  verbose_name='ID')),
                ('file', models.FileField(upload_to='')),
            ],
            options={
                'managed': False,
            },
        ),
        migrations.CreateModel(
            name='User',
            fields=[
                ('last_login',
                 models.DateTimeField(blank=True,
                                      null=True,
                                      verbose_name='last login')),
                ('is_superuser',
                 models.BooleanField(
                     default=False,
                     help_text=
                     'Designates that this user has all permissions without explicitly assigning them.',
                     verbose_name='superuser status')),
                ('userid',
                 models.CharField(max_length=12,
                                  primary_key=True,
                                  serialize=False)),
                ('username', models.CharField(max_length=20)),
                ('password', models.CharField(max_length=20)),
                ('borntime', models.CharField(max_length=25)),
                ('gender', models.CharField(max_length=10)),
                ('joindate', models.CharField(max_length=25)),
                ('sang_songs',
                 djongo.models.fields.ArrayField(
                     model_container=accounts.models.Songs)),
                ('re_songs',
                 djongo.models.fields.ArrayField(
                     model_container=accounts.models.Songs)),
                ('pi_re_songs',
                 djongo.models.fields.ArrayField(
                     model_container=accounts.models.Songs)),
                ('pitch', models.FloatField(default=0.0)),
                ('groups',
                 models.ManyToManyField(
                     blank=True,
                     help_text=
                     'The groups this user belongs to. A user will get all permissions granted to each of their groups.',
                     related_name='user_set',
                     related_query_name='user',
                     to='auth.Group',
                     verbose_name='groups')),
                ('user_permissions',
                 models.ManyToManyField(
                     blank=True,
                     help_text='Specific permissions for this user.',
                     related_name='user_set',
                     related_query_name='user',
                     to='auth.Permission',
                     verbose_name='user permissions')),
            ],
            options={
                'abstract': False,
            },
            managers=[
                ('objects', accounts.models.UserManager()),
            ],
        ),
    ]
示例#15
0
class Migration(migrations.Migration):

    initial = True

    dependencies = [
        ('auth', '0012_alter_user_first_name_max_length'),
    ]

    operations = [
        migrations.CreateModel(
            name='Accounts',
            fields=[
                ('id',
                 models.BigAutoField(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')),
                ('is_superuser',
                 models.BooleanField(
                     default=False,
                     help_text=
                     'Designates that this user has all permissions without explicitly assigning them.',
                     verbose_name='superuser status')),
                ('username',
                 models.CharField(
                     error_messages={
                         'unique': 'A user with that username already exists.'
                     },
                     help_text=
                     'Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only.',
                     max_length=150,
                     unique=True,
                     validators=[
                         django.contrib.auth.validators.
                         UnicodeUsernameValidator()
                     ],
                     verbose_name='username')),
                ('email',
                 models.EmailField(blank=True,
                                   max_length=254,
                                   verbose_name='email address')),
                ('is_staff',
                 models.BooleanField(
                     default=False,
                     help_text=
                     'Designates whether the user can log into this admin site.',
                     verbose_name='staff status')),
                ('is_active',
                 models.BooleanField(
                     default=True,
                     help_text=
                     'Designates whether this user should be treated as active. Unselect this instead of deleting accounts.',
                     verbose_name='active')),
                ('date_joined',
                 models.DateTimeField(default=django.utils.timezone.now,
                                      verbose_name='date joined')),
                ('is_host', models.BooleanField(default=False)),
                ('account_number', models.CharField(blank=True,
                                                    max_length=20)),
                ('groups',
                 models.ManyToManyField(
                     blank=True,
                     help_text=
                     'The groups this user belongs to. A user will get all permissions granted to each of their groups.',
                     related_name='user_set',
                     related_query_name='user',
                     to='auth.Group',
                     verbose_name='groups')),
                ('user_permissions',
                 models.ManyToManyField(
                     blank=True,
                     help_text='Specific permissions for this user.',
                     related_name='user_set',
                     related_query_name='user',
                     to='auth.Permission',
                     verbose_name='user permissions')),
            ],
            options={
                'verbose_name': 'user',
                'verbose_name_plural': 'users',
                'abstract': False,
            },
            managers=[
                ('objects', django.contrib.auth.models.UserManager()),
            ],
        ),
        migrations.CreateModel(
            name='Dog',
            fields=[
                ('id',
                 models.BigAutoField(auto_created=True,
                                     primary_key=True,
                                     serialize=False,
                                     verbose_name='ID')),
                ('picture',
                 models.ImageField(
                     blank=True,
                     upload_to=accounts.models.Dog.path_and_rename,
                     verbose_name="Dog's image")),
                ('dog_name', models.CharField(max_length=50)),
                ('gender',
                 models.CharField(choices=[('male', 'Male'),
                                           ('female', 'Female')],
                                  default='Male',
                                  max_length=10)),
                ('dog_bio', models.TextField(blank=True, max_length=100)),
                ('dog_status',
                 models.CharField(choices=[('idle', 'Idle'),
                                           ('hosting', 'Hosting')],
                                  default='idle',
                                  max_length=20)),
                ('dog_create_date', models.DateField(auto_now_add=True)),
                ('dog_dob', models.DateField(default=datetime.date.today)),
                ('dog_breed', models.CharField(max_length=20)),
                ('dog_weight', models.FloatField(default=0.0)),
            ],
        ),
        migrations.CreateModel(
            name='Customer',
            fields=[
                ('account',
                 models.OneToOneField(
                     on_delete=django.db.models.deletion.CASCADE,
                     primary_key=True,
                     related_name='customer_account',
                     serialize=False,
                     to='accounts.accounts')),
                ('picture',
                 models.ImageField(
                     blank=True,
                     upload_to=accounts.models.Customer.path_and_rename,
                     verbose_name="Customer's image")),
                ('first_name', models.CharField(default='', max_length=30)),
                ('last_name', models.CharField(default='', max_length=30)),
                ('gender',
                 models.CharField(choices=[('male', 'Male'),
                                           ('female', 'Female'),
                                           ('none', 'None')],
                                  default='Male',
                                  max_length=10)),
                ('customer_bio', models.TextField(blank=True, max_length=100)),
                ('customer_dog_count', models.IntegerField(default=0)),
                ('customer_hosted_count', models.IntegerField(default=0)),
                ('address', models.CharField(blank=True, max_length=255)),
                ('mobile', models.CharField(blank=True, max_length=10)),
                ('dob', models.DateField(default=datetime.date.today)),
                ('latitude',
                 models.DecimalField(blank=True,
                                     decimal_places=20,
                                     max_digits=32,
                                     null=True)),
                ('longitude',
                 models.DecimalField(blank=True,
                                     decimal_places=20,
                                     max_digits=32,
                                     null=True)),
            ],
        ),
        migrations.CreateModel(
            name='Host',
            fields=[
                ('account',
                 models.OneToOneField(
                     on_delete=django.db.models.deletion.CASCADE,
                     primary_key=True,
                     related_name='host_account',
                     serialize=False,
                     to='accounts.accounts')),
                ('picture',
                 models.ImageField(
                     blank=True,
                     upload_to=accounts.models.Host.path_and_rename,
                     verbose_name="Host's image")),
                ('first_name', models.CharField(default='', max_length=30)),
                ('last_name', models.CharField(default='', max_length=30)),
                ('gender',
                 models.CharField(choices=[('male', 'Male'),
                                           ('female', 'Female'),
                                           ('none', 'None')],
                                  default='Male',
                                  max_length=10)),
                ('host_bio', models.TextField(blank=True, max_length=100)),
                ('host_rating', models.FloatField(default=0.0)),
                ('host_hosted_count', models.IntegerField(default=0)),
                ('host_area', models.FloatField(default=0.0)),
                ('address', models.CharField(blank=True, max_length=255)),
                ('mobile', models.CharField(blank=True, max_length=10)),
                ('dob', models.DateField(default=datetime.date.today)),
                ('latitude',
                 models.DecimalField(blank=True,
                                     decimal_places=20,
                                     max_digits=32,
                                     null=True)),
                ('longitude',
                 models.DecimalField(blank=True,
                                     decimal_places=20,
                                     max_digits=32,
                                     null=True)),
            ],
        ),
        migrations.CreateModel(
            name='DogFeedingTime',
            fields=[
                ('id',
                 models.BigAutoField(auto_created=True,
                                     primary_key=True,
                                     serialize=False,
                                     verbose_name='ID')),
                ('time', models.TimeField()),
                ('dog',
                 models.ForeignKey(on_delete=django.db.models.deletion.CASCADE,
                                   related_name='dog_feeding_time',
                                   to='accounts.dog')),
            ],
        ),
        migrations.CreateModel(
            name='HouseImages',
            fields=[
                ('id',
                 models.BigAutoField(auto_created=True,
                                     primary_key=True,
                                     serialize=False,
                                     verbose_name='ID')),
                ('picture',
                 models.ImageField(
                     blank=True,
                     upload_to=accounts.models.HouseImages.path_and_rename,
                     verbose_name='House picture')),
                ('host',
                 models.ForeignKey(on_delete=django.db.models.deletion.CASCADE,
                                   related_name='house_image',
                                   to='accounts.host')),
            ],
        ),
        migrations.CreateModel(
            name='HostAvailableDate',
            fields=[
                ('id',
                 models.BigAutoField(auto_created=True,
                                     primary_key=True,
                                     serialize=False,
                                     verbose_name='ID')),
                ('date', models.DateField()),
                ('host',
                 models.ForeignKey(on_delete=django.db.models.deletion.CASCADE,
                                   related_name='host_available_date',
                                   to='accounts.host')),
            ],
        ),
        migrations.AddField(
            model_name='dog',
            name='customer',
            field=models.ForeignKey(
                on_delete=django.db.models.deletion.CASCADE,
                related_name='dog_customer',
                to='accounts.customer'),
        ),
    ]
示例#16
0
class Migration(migrations.Migration):

    initial = True

    dependencies = []

    operations = [
        migrations.CreateModel(
            name='Profile',
            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')),
                ('is_superuser',
                 models.BooleanField(
                     default=False,
                     help_text=
                     'Designates that this user has all permissions without explicitly assigning them.',
                     verbose_name='superuser status')),
                ('username',
                 models.CharField(
                     error_messages={
                         'unique': 'A user with that username already exists.'
                     },
                     help_text=
                     'Required. 30 characters or fewer. Letters, digits and @/./+/-/_ only.',
                     max_length=75,
                     unique=True,
                     validators=[
                         django.core.validators.RegexValidator(
                             '^[\\w.@+-]+$',
                             'Enter a valid username. This value may contain only letters, numbers and @/./+/-/_ characters.'
                         )
                     ],
                     verbose_name='username')),
                ('first_name',
                 models.CharField(blank=True,
                                  max_length=30,
                                  verbose_name='first name')),
                ('last_name',
                 models.CharField(blank=True,
                                  max_length=30,
                                  verbose_name='last name')),
                ('email',
                 models.EmailField(blank=True,
                                   max_length=254,
                                   verbose_name='email address')),
                ('is_staff',
                 models.BooleanField(
                     default=False,
                     help_text=
                     'Designates whether the user can log into this admin site.',
                     verbose_name='staff status')),
                ('is_active',
                 models.BooleanField(
                     default=True,
                     help_text=
                     'Designates whether this user should be treated as active. Unselect this instead of deleting accounts.',
                     verbose_name='active')),
                ('date_joined',
                 models.DateTimeField(default=django.utils.timezone.now,
                                      verbose_name='date joined')),
                ('address',
                 models.CharField(blank=True, max_length=255, null=True)),
                ('address2',
                 models.CharField(blank=True, max_length=255, null=True)),
                ('city', models.CharField(blank=True,
                                          max_length=255,
                                          null=True)),
                ('state',
                 models.CharField(blank=True, max_length=255, null=True)),
                ('country',
                 models.CharField(blank=True, max_length=100, null=True)),
                ('country_code',
                 models.CharField(blank=True, max_length=100, null=True)),
                ('zipcode', models.IntegerField(blank=True, null=True)),
                ('location',
                 models.CharField(blank=True, max_length=100, null=True)),
                ('capacity', models.IntegerField(blank=True, null=True)),
                ('notes', models.TextField(blank=True, null=True)),
                ('photo',
                 models.ImageField(blank=True,
                                   null=True,
                                   upload_to=accounts.models.path_and_rename)),
                ('signup_code',
                 models.CharField(blank=True, max_length=25, null=True)),
                ('title',
                 models.CharField(blank=True, max_length=100, null=True)),
                ('stripe',
                 models.CharField(blank=True, max_length=255, null=True)),
                ('stripe_connect',
                 models.CharField(blank=True, max_length=255, null=True)),
                ('verification',
                 models.CharField(default=b'unverified', max_length=255)),
                ('payouts_enabled', models.BooleanField(default=False)),
                ('biography', models.TextField(blank=True, null=True)),
                ('long_description', models.TextField(blank=True, null=True)),
                ('email_notifications', models.BooleanField(default=True)),
                ('email_confirmed', models.BooleanField(default=False)),
                ('featured', models.BooleanField(default=False)),
                ('tos', models.BooleanField(default=False)),
            ],
            options={
                'abstract': False,
                'verbose_name': 'user',
                'verbose_name_plural': 'users',
            },
            managers=[
                ('objects', accounts.models.CustomUserManager()),
            ],
        ),
        migrations.CreateModel(
            name='Connection',
            fields=[
                ('id',
                 models.AutoField(auto_created=True,
                                  primary_key=True,
                                  serialize=False,
                                  verbose_name='ID')),
                ('date_created', models.DateTimeField(auto_now_add=True)),
            ],
        ),
        migrations.CreateModel(
            name='Role',
            fields=[
                ('id',
                 models.AutoField(auto_created=True,
                                  primary_key=True,
                                  serialize=False,
                                  verbose_name='ID')),
                ('name', models.CharField(max_length=100)),
                ('category',
                 models.CharField(blank=True, max_length=100, null=True)),
                ('years', models.IntegerField(null=True)),
            ],
        ),
        migrations.CreateModel(
            name='Skills',
            fields=[
                ('id',
                 models.AutoField(auto_created=True,
                                  primary_key=True,
                                  serialize=False,
                                  verbose_name='ID')),
                ('name', models.CharField(max_length=255, unique=True)),
                ('slug', models.SlugField()),
                ('count',
                 models.IntegerField(
                     default=0,
                     help_text=
                     'Internal counter of how many times this tag is in use')),
                ('protected',
                 models.BooleanField(
                     default=False,
                     help_text='Will not be deleted when the count reaches 0')
                 ),
            ],
            options={
                'ordering': ('name', ),
                'abstract': False,
            },
            bases=(tagulous.models.models.BaseTagModel, models.Model),
        ),
        migrations.CreateModel(
            name='SkillTest',
            fields=[
                ('id',
                 models.AutoField(auto_created=True,
                                  primary_key=True,
                                  serialize=False,
                                  verbose_name='ID')),
                ('ticket_url',
                 models.CharField(blank=True, max_length=255, null=True)),
            ],
        ),
        migrations.CreateModel(
            name='VerificationTest',
            fields=[
                ('id',
                 models.AutoField(auto_created=True,
                                  primary_key=True,
                                  serialize=False,
                                  verbose_name='ID')),
                ('relevance', models.FloatField()),
                ('skill',
                 models.ForeignKey(on_delete=django.db.models.deletion.CASCADE,
                                   to='accounts.Skills')),
            ],
            options={
                'ordering': ('-relevance', ),
            },
        ),
        migrations.CreateModel(
            name='ContactDetails',
            fields=[
                ('profile',
                 models.ForeignKey(on_delete=django.db.models.deletion.CASCADE,
                                   primary_key=True,
                                   serialize=False,
                                   to=settings.AUTH_USER_MODEL)),
                ('email',
                 models.CharField(blank=True,
                                  default=b'',
                                  max_length=50,
                                  null=True)),
                ('email_confirmed', models.BooleanField(default=False)),
                ('phone',
                 models.CharField(blank=True,
                                  default=b'',
                                  max_length=50,
                                  null=True)),
                ('website',
                 models.CharField(blank=True, max_length=50, null=True)),
                ('skype', models.CharField(blank=True,
                                           max_length=50,
                                           null=True)),
                ('linkedin',
                 models.CharField(blank=True, max_length=50, null=True)),
                ('angellist',
                 models.CharField(blank=True, max_length=50, null=True)),
                ('github',
                 models.CharField(blank=True, max_length=50, null=True)),
                ('instagram',
                 models.CharField(blank=True, max_length=50, null=True)),
                ('twitter',
                 models.CharField(blank=True, max_length=50, null=True)),
                ('facebook',
                 models.CharField(blank=True, max_length=50, null=True)),
            ],
        ),
    ]
示例#17
0
class Migration(migrations.Migration):

    initial = True

    dependencies = []

    operations = [
        migrations.CreateModel(
            name='Customer',
            fields=[
                ('customer_id',
                 models.AutoField(default=accounts.models.random_id_genrate,
                                  primary_key=True,
                                  serialize=False,
                                  unique=True)),
                ('profile_photo',
                 models.ImageField(blank=True,
                                   null=True,
                                   upload_to='users_profiles/')),
                ('first_name',
                 models.CharField(blank=True, default='', max_length=50)),
                ('last_name',
                 models.CharField(blank=True, default='', max_length=50)),
                ('phone_number', models.CharField(blank=True, max_length=12)),
                ('email_id',
                 models.EmailField(max_length=255,
                                   unique=True,
                                   verbose_name='email_address')),
                ('is_seller', models.BooleanField(default=False)),
                ('is_deliveryBoy', models.BooleanField(default=None)),
            ],
        ),
        migrations.CreateModel(
            name='Seller',
            fields=[
                ('seller_id',
                 models.AutoField(default=accounts.models.random_id_genrate,
                                  primary_key=True,
                                  serialize=False)),
                ('phone_number',
                 models.CharField(blank=True, max_length=12, null=True)),
                ('back_ac_number',
                 models.CharField(blank=True, max_length=12, null=True)),
                ('ac_holder_name', models.CharField(max_length=55)),
                ('ifsc_code',
                 models.CharField(blank=True, max_length=11, null=True)),
                ('date_joined', models.DateTimeField(auto_now_add=True)),
                ('customer_id',
                 models.OneToOneField(
                     blank=True,
                     null=True,
                     on_delete=django.db.models.deletion.CASCADE,
                     related_name='Restaurant_seller',
                     to='accounts.customer')),
            ],
        ),
        migrations.CreateModel(
            name='DeliveryBoy',
            fields=[
                ('Delivery_boy_id',
                 models.AutoField(default=accounts.models.random_id_genrate,
                                  primary_key=True,
                                  serialize=False)),
                ('delivery_charge', models.FloatField(blank=True, null=True)),
                ('is_available', models.BooleanField(default=False)),
                ('customer_id',
                 models.OneToOneField(
                     blank=True,
                     null=True,
                     on_delete=django.db.models.deletion.CASCADE,
                     related_name='restaurant_delivery_boy',
                     to='accounts.customer')),
            ],
        ),
    ]
示例#18
0
class Migration(migrations.Migration):

    initial = True

    dependencies = [
        ('auth', '0012_alter_user_first_name_max_length'),
    ]

    operations = [
        migrations.CreateModel(
            name='CustomUser',
            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')),
                ('is_superuser',
                 models.BooleanField(
                     default=False,
                     help_text=
                     'Designates that this user has all permissions without explicitly assigning them.',
                     verbose_name='superuser status')),
                ('email',
                 models.EmailField(max_length=254,
                                   unique=True,
                                   verbose_name='email address')),
                ('first_name',
                 models.CharField(max_length=30, verbose_name='first name')),
                ('last_name',
                 models.CharField(max_length=30, verbose_name='last name')),
                ('height', models.FloatField(null=True,
                                             verbose_name='height')),
                ('weight',
                 models.FloatField(null=True, verbose_name='taget_weight')),
                ('created',
                 models.DateField(default=django.utils.timezone.now,
                                  verbose_name='JOIN DATE')),
                ('is_staff',
                 models.BooleanField(
                     default=False,
                     help_text=
                     'Designates whether this user can log into this admin site.',
                     verbose_name='staff status')),
                ('is_active',
                 models.BooleanField(
                     default=True,
                     help_text=
                     'Designates whether this user should be treated as active.Unselect this instead of deleting accounts.',
                     verbose_name='active')),
                ('groups',
                 models.ManyToManyField(
                     blank=True,
                     help_text=
                     'The groups this user belongs to. A user will get all permissions granted to each of their groups.',
                     related_name='user_set',
                     related_query_name='user',
                     to='auth.Group',
                     verbose_name='groups')),
                ('user_permissions',
                 models.ManyToManyField(
                     blank=True,
                     help_text='Specific permissions for this user.',
                     related_name='user_set',
                     related_query_name='user',
                     to='auth.Permission',
                     verbose_name='user permissions')),
            ],
            options={
                'verbose_name': 'user',
                'verbose_name_plural': 'users',
            },
            managers=[
                ('objects', accounts.models.UserManager()),
            ],
        ),
    ]