class Migration(migrations.Migration): dependencies = [ ('b24online', '0012_auto_20160519_1955'), ] operations = [ migrations.CreateModel( name='Video', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('title', models.CharField(max_length=255)), ('image', b24online.custom.CustomImageField( blank=True, max_length=255, storage=b24online.custom.S3ImageStorage(), upload_to=b24online.utils.generate_upload_path)), ('slug', models.SlugField(max_length=255)), ('short_description', models.TextField()), ('content', models.TextField()), ('video_code', models.CharField(blank=True, max_length=255, null=True)), ('keywords', models.CharField(blank=True, max_length=2048)), ('is_active', models.BooleanField(default=True)), ('is_deleted', models.BooleanField(default=False)), ('created_at', models.DateTimeField(auto_now_add=True, db_index=True)), ('updated_at', models.DateTimeField(auto_now=True)), ('created_by', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='video_create_user', to=settings.AUTH_USER_MODEL)), ('organization', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='video', to='b24online.Organization')), ('updated_by', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='video_update_user', to=settings.AUTH_USER_MODEL)), ], options={ 'ordering': ['-id'], }, bases=(b24online.models.ActiveModelMixing, models.Model, b24online.models.IndexedModelMixin), ), ]
class Migration(migrations.Migration): dependencies = [ ('b24online', '0017_auto_20160622_1927'), ] operations = [ migrations.CreateModel( name='LeadsStore', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('subject', models.CharField(blank=True, max_length=2048, null=True)), ('email', models.CharField(blank=True, max_length=255, null=True)), ('phone', models.CharField(blank=True, max_length=255, null=True)), ('message', models.TextField(blank=True, null=True)), ('metadata', django.contrib.postgres.fields.jsonb.JSONField( blank=True, null=True, verbose_name='Meta')), ('is_active', models.BooleanField(default=True)), ('is_deleted', models.BooleanField(default=False)), ('created_at', models.DateTimeField(auto_now_add=True, db_index=True)), ('organization', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, to='b24online.Organization')), ('username', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='b24online.Profile')), ], options={ 'verbose_name': 'Lead', 'verbose_name_plural': 'Leads', }, bases=(b24online.models.ActiveModelMixing, models.Model), ), ]
class Migration(migrations.Migration): dependencies = [ ('b24online', '0004_auto_20160218_2156'), ] operations = [ migrations.CreateModel( name='Producer', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('name', models.CharField(max_length=255, verbose_name='Name')), ('slug', models.SlugField(max_length=255)), ('short_description', models.TextField(blank=True, null=True, verbose_name='Short description')), ('description', models.TextField(blank=True, null=True, verbose_name='Descripion')), ('logo', b24online.custom.CustomImageField( max_length=255, storage=b24online.custom.S3ImageStorage(), upload_to=b24online.utils.generate_upload_path)), ('country', models.CharField(max_length=255, verbose_name='Country')), ], options={ 'verbose_name_plural': 'Products producers', 'verbose_name': 'Products producer', }, bases=(models.Model, b24online.models.IndexedModelMixin), ), migrations.AlterField( model_name='deal', name='updated_at', field=models.DateTimeField(auto_now=True, null=True, verbose_name='Update time'), ), migrations.AlterField( model_name='dealorder', name='updated_at', field=models.DateTimeField(auto_now=True, null=True, verbose_name='Update time'), ), migrations.AlterField( model_name='messagechat', name='updated_at', field=models.DateTimeField(auto_now=True, null=True, verbose_name='Update time'), ), migrations.AddField( model_name='b2bproduct', name='producer', field=models.ForeignKey( blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='b2b_products', to='b24online.Producer', verbose_name='Producer'), ), ]
class Migration(migrations.Migration): initial = True dependencies = [ ('b24online', '0001_initial'), migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] operations = [ migrations.CreateModel( name='B2CProduct', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('name', models.CharField(max_length=255)), ('name_ru', models.CharField(max_length=255, null=True)), ('name_am', models.CharField(max_length=255, null=True)), ('name_bg', models.CharField(max_length=255, null=True)), ('name_en', models.CharField(max_length=255, null=True)), ('name_uk', models.CharField(max_length=255, null=True)), ('name_he', models.CharField(max_length=255, null=True)), ('name_ar', models.CharField(max_length=255, null=True)), ('name_zh', models.CharField(max_length=255, null=True)), ('slug', models.SlugField(max_length=255)), ('slug_ru', models.SlugField(max_length=255, null=True)), ('slug_am', models.SlugField(max_length=255, null=True)), ('slug_bg', models.SlugField(max_length=255, null=True)), ('slug_en', models.SlugField(max_length=255, null=True)), ('slug_uk', models.SlugField(max_length=255, null=True)), ('slug_he', models.SlugField(max_length=255, null=True)), ('slug_ar', models.SlugField(max_length=255, null=True)), ('slug_zh', models.SlugField(max_length=255, null=True)), ('short_description', models.TextField()), ('short_description_ru', models.TextField(null=True)), ('short_description_am', models.TextField(null=True)), ('short_description_bg', models.TextField(null=True)), ('short_description_en', models.TextField(null=True)), ('short_description_uk', models.TextField(null=True)), ('short_description_he', models.TextField(null=True)), ('short_description_ar', models.TextField(null=True)), ('short_description_zh', models.TextField(null=True)), ('description', models.TextField()), ('description_ru', models.TextField(null=True)), ('description_am', models.TextField(null=True)), ('description_bg', models.TextField(null=True)), ('description_en', models.TextField(null=True)), ('description_uk', models.TextField(null=True)), ('description_he', models.TextField(null=True)), ('description_ar', models.TextField(null=True)), ('description_zh', models.TextField(null=True)), ('image', b24online.custom.CustomImageField( blank=True, max_length=255, null=True, storage=b24online.custom.S3ImageStorage(), upload_to=b24online.utils.generate_upload_path)), ('keywords', models.CharField(blank=True, max_length=2048)), ('keywords_ru', models.CharField(blank=True, max_length=2048, null=True)), ('keywords_am', models.CharField(blank=True, max_length=2048, null=True)), ('keywords_bg', models.CharField(blank=True, max_length=2048, null=True)), ('keywords_en', models.CharField(blank=True, max_length=2048, null=True)), ('keywords_uk', models.CharField(blank=True, max_length=2048, null=True)), ('keywords_he', models.CharField(blank=True, max_length=2048, null=True)), ('keywords_ar', models.CharField(blank=True, max_length=2048, null=True)), ('keywords_zh', models.CharField(blank=True, max_length=2048, null=True)), ('currency', models.CharField(choices=[('ILS', 'Israeli New Sheqel'), ('EUR', 'Euro'), ('USD', 'Dollar'), ('UAH', 'Hryvnia'), ('RUB', 'Russian Ruble'), ('BGN', 'Bulgarian Lev'), ('BYR', 'Belarusian Ruble')], max_length=255, null=True)), ('cost', models.DecimalField(decimal_places=2, max_digits=15, null=True)), ('is_active', models.BooleanField(default=True)), ('is_deleted', models.BooleanField(default=False)), ('metadata', django.contrib.postgres.fields.hstore.HStoreField()), ('discount_percent', models.FloatField(blank=True, null=True)), ('coupon_discount_percent', models.FloatField(blank=True, null=True)), ('coupon_dates', django.contrib.postgres.fields.ranges.DateRangeField( blank=True, null=True)), ('created_at', models.DateTimeField(default=django.utils.timezone.now)), ('updated_at', models.DateTimeField(auto_now=True)), ], bases=(b24online.models.ActiveModelMixing, models.Model, b24online.models.IndexedModelMixin), ), migrations.CreateModel( name='B2CProductCategory', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('name', models.CharField(max_length=255)), ('name_ru', models.CharField(max_length=255, null=True)), ('name_am', models.CharField(max_length=255, null=True)), ('name_bg', models.CharField(max_length=255, null=True)), ('name_en', models.CharField(max_length=255, null=True)), ('name_uk', models.CharField(max_length=255, null=True)), ('name_he', models.CharField(max_length=255, null=True)), ('name_ar', models.CharField(max_length=255, null=True)), ('name_zh', models.CharField(max_length=255, null=True)), ('slug', models.SlugField(max_length=255)), ('slug_ru', models.SlugField(max_length=255, null=True)), ('slug_am', models.SlugField(max_length=255, null=True)), ('slug_bg', models.SlugField(max_length=255, null=True)), ('slug_en', models.SlugField(max_length=255, null=True)), ('slug_uk', models.SlugField(max_length=255, null=True)), ('slug_he', models.SlugField(max_length=255, null=True)), ('slug_ar', models.SlugField(max_length=255, null=True)), ('slug_zh', models.SlugField(max_length=255, null=True)), ('image', b24online.custom.CustomImageField( blank=True, null=True, storage=b24online.custom.S3ImageStorage(), upload_to='')), ('lft', models.PositiveIntegerField(db_index=True, editable=False)), ('rght', models.PositiveIntegerField(db_index=True, editable=False)), ('tree_id', models.PositiveIntegerField(db_index=True, editable=False)), ('level', models.PositiveIntegerField(db_index=True, editable=False)), ('parent', mptt.fields.TreeForeignKey( blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='children', to='centerpokupok.B2CProductCategory')), ], options={ 'ordering': ['name'], }, bases=(models.Model, b24online.models.IndexedModelMixin), managers=[ ('objects', django.db.models.manager.Manager()), ], ), migrations.CreateModel( name='B2CProductComment', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('content', models.TextField()), ('created_at', models.DateTimeField(default=django.utils.timezone.now)), ('updated_at', models.DateTimeField(auto_now=True)), ('lft', models.PositiveIntegerField(db_index=True, editable=False)), ('rght', models.PositiveIntegerField(db_index=True, editable=False)), ('tree_id', models.PositiveIntegerField(db_index=True, editable=False)), ('level', models.PositiveIntegerField(db_index=True, editable=False)), ('created_by', models.ForeignKey( on_delete=django.db.models.deletion.CASCADE, related_name='b2cproductcomment_create_user', to=settings.AUTH_USER_MODEL)), ('parent', mptt.fields.TreeForeignKey( blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='children', to='centerpokupok.B2CProductComment')), ('product', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='centerpokupok.B2CProduct')), ('updated_by', models.ForeignKey( on_delete=django.db.models.deletion.CASCADE, related_name='b2cproductcomment_update_user', to=settings.AUTH_USER_MODEL)), ], options={ 'abstract': False, }, managers=[ ('objects', django.db.models.manager.Manager()), ], ), migrations.CreateModel( name='BasketItem', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('quantity', models.PositiveIntegerField(default=0, verbose_name='Quantity')), ], options={ 'ordering': ('basket', ), 'verbose_name': 'Product', 'verbose_name_plural': 'Products', }, ), migrations.CreateModel( name='UserBasket', fields=[ ('user_uuid', models.UUIDField(default=uuid.uuid4, editable=False, primary_key=True, serialize=False)), ('site_id', models.IntegerField(default=143, verbose_name='Site ID')), ('currency', models.CharField(blank=True, max_length=11, null=True)), ('paypal', models.CharField(blank=True, max_length=111, null=True)), ('created', models.DateTimeField(default=django.utils.timezone.now, verbose_name='Created')), ('checked_out', models.BooleanField(default=False, verbose_name='Ordered?')), ], options={ 'ordering': ('-created', ), 'verbose_name': 'Basket', 'verbose_name_plural': 'Baskets', }, ), migrations.AddField( model_name='basketitem', name='basket', field=models.ForeignKey( on_delete=django.db.models.deletion.CASCADE, related_name='items', to='centerpokupok.UserBasket', verbose_name='basket'), ), migrations.AddField( model_name='basketitem', name='product', field=models.ForeignKey( on_delete=django.db.models.deletion.CASCADE, related_name='basket_product', to='centerpokupok.B2CProduct'), ), migrations.AddField( model_name='b2cproduct', name='categories', field=models.ManyToManyField( related_name='products', to='centerpokupok.B2CProductCategory'), ), migrations.AddField( model_name='b2cproduct', name='company', field=models.ForeignKey( on_delete=django.db.models.deletion.CASCADE, related_name='b2c_products', to='b24online.Company'), ), migrations.AddField( model_name='b2cproduct', name='created_by', field=models.ForeignKey( on_delete=django.db.models.deletion.CASCADE, related_name='b2cproduct_create_user', to=settings.AUTH_USER_MODEL), ), migrations.AddField( model_name='b2cproduct', name='updated_by', field=models.ForeignKey( on_delete=django.db.models.deletion.CASCADE, related_name='b2cproduct_update_user', to=settings.AUTH_USER_MODEL), ), migrations.AlterIndexTogether( name='b2cproduct', index_together=set([('created_at', 'company')]), ), ]
class Migration(migrations.Migration): dependencies = [ ('contenttypes', '0002_remove_content_type_name'), ('b24online', '0001_initial'), ] operations = [ migrations.CreateModel( name='Deal', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('created_at', models.DateTimeField(db_index=True, default=django.utils.timezone.now, verbose_name='Creation time')), ('updated_at', models.DateTimeField(auto_now=True, verbose_name='Update time')), ('deal_no', models.CharField(blank=True, db_index=True, max_length=50, null=True, verbose_name='Deal No.')), ('total_cost', models.DecimalField(decimal_places=2, editable=False, max_digits=15, null=True, verbose_name='Total deal cost')), ('total_cost_data', django.contrib.postgres.fields.jsonb.JSONField( editable=False, null=True, verbose_name='Total cost data')), ('paid_at', models.DateTimeField(blank=True, db_index=True, editable=False, null=True, verbose_name='Payment datetime')), ('status', models.CharField(choices=[('draft', 'Draft'), ('ready', 'Ready'), ('paid', 'Paid'), ('ordered', 'Ordered by Email')], default='draft', editable=False, max_length=10, verbose_name='Deal status')), ('person_first_name', models.CharField(blank=True, max_length=255, null=True, verbose_name='First name')), ('person_last_name', models.CharField(blank=True, max_length=255, null=True, verbose_name='Last name')), ('person_phone_number', models.CharField(blank=True, max_length=255, null=True, verbose_name='Phone number')), ('person_address', models.CharField(blank=True, max_length=2048, verbose_name='Address')), ('person_email', models.EmailField(blank=True, db_index=True, max_length=255, null=True, verbose_name='E-mail')), ('is_active', models.BooleanField(default=True)), ('is_deleted', models.BooleanField(default=False)), ('created_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='deal_create_user', to=settings.AUTH_USER_MODEL, verbose_name='Creator')), ], options={ 'verbose_name': 'Purchase deal', 'verbose_name_plural': 'Purchase deal', }, bases=(b24online.models.ActiveModelMixing, models.Model), ), migrations.CreateModel( name='DealItem', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('object_id', models.PositiveIntegerField()), ('cost', models.DecimalField(blank=True, decimal_places=2, max_digits=15, null=True, verbose_name='The product price')), ('currency', models.CharField(blank=True, choices=[('ILS', 'Israeli New Sheqel'), ('EUR', 'Euro'), ('USD', 'Dollar'), ('UAH', 'Hryvnia'), ('RUB', 'Russian Ruble'), ('BGN', 'Bulgarian Lev'), ('BYR', 'Belarusian Ruble')], max_length=255, null=True, verbose_name='Currence')), ('quantity', models.PositiveIntegerField(default=0, verbose_name='Quantity')), ('content_type', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='contenttypes.ContentType')), ('deal', models.ForeignKey(editable=False, on_delete=django.db.models.deletion.CASCADE, related_name='item_deal', to='b24online.Deal', verbose_name='Deal')), ], options={ 'verbose_name': 'Deal product', 'verbose_name_plural': 'Deal products', }, ), migrations.CreateModel( name='DealOrder', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('created_at', models.DateTimeField(db_index=True, default=django.utils.timezone.now, verbose_name='Creation time')), ('updated_at', models.DateTimeField(auto_now=True, verbose_name='Update time')), ('customer_type', models.CharField(choices=[('person', 'Person'), ('company', 'Company')], max_length=10, verbose_name='Customer type')), ('order_no', models.CharField(blank=True, db_index=True, max_length=50, null=True, verbose_name='Order No.')), ('total_cost', models.DecimalField(decimal_places=2, editable=False, max_digits=15, null=True, verbose_name='Total order cost')), ('total_cost_data', django.contrib.postgres.fields.jsonb.JSONField( editable=False, null=True, verbose_name='Total cost data')), ('paid_at', models.DateTimeField(blank=True, db_index=True, editable=False, null=True, verbose_name='Payment datetime')), ('status', models.CharField(choices=[('draft', 'Draft'), ('ready', 'Ready'), ('partially', 'Partially paid'), ('paid', 'Paid')], default='draft', editable=False, max_length=10, verbose_name='Order status')), ('is_active', models.BooleanField(default=True)), ('is_deleted', models.BooleanField(default=False)), ('created_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='dealorder_create_user', to=settings.AUTH_USER_MODEL, verbose_name='Creator')), ('customer_company', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='customer_company', to='b24online.Company', verbose_name='Customer company')), ('updated_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='dealorder_update_user', to=settings.AUTH_USER_MODEL, verbose_name='Editor')), ], options={ 'verbose_name': 'Product order', 'verbose_name_plural': 'Product orders', }, bases=(b24online.models.ActiveModelMixing, models.Model), ), migrations.AlterField( model_name='registeredevent', name='ip_address', field=models.GenericIPAddressField(blank=True, null=True, verbose_name='IP address'), ), migrations.AlterField( model_name='registeredevent', name='is_unique', field=models.BooleanField(default=False, verbose_name='Is unique'), ), migrations.AlterField( model_name='registeredevent', name='user_agent', field=models.CharField(blank=True, max_length=255, null=True, verbose_name='User Agent'), ), migrations.AddField( model_name='deal', name='deal_order', field=models.ForeignKey( editable=False, on_delete=django.db.models.deletion.CASCADE, related_name='deals_list', to='b24online.DealOrder', verbose_name='Order'), ), migrations.AddField( model_name='deal', name='person_country', field=models.ForeignKey( blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='b24online.Country', verbose_name='Country'), ), migrations.AddField( model_name='deal', name='supplier_company', field=models.ForeignKey( editable=False, on_delete=django.db.models.deletion.CASCADE, related_name='supplier_company', to='b24online.Company', verbose_name='Supplier company'), ), migrations.AddField( model_name='deal', name='updated_by', field=models.ForeignKey( blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='deal_update_user', to=settings.AUTH_USER_MODEL, verbose_name='Editor'), ), ]
class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('b24online', '0001_initial'), ] operations = [ migrations.CreateModel( name='Requirement', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('title', models.CharField(max_length=255)), ('title_ru', models.CharField(max_length=255, null=True)), ('title_am', models.CharField(max_length=255, null=True)), ('title_bg', models.CharField(max_length=255, null=True)), ('title_en', models.CharField(max_length=255, null=True)), ('title_uk', models.CharField(max_length=255, null=True)), ('title_he', models.CharField(max_length=255, null=True)), ('title_ar', models.CharField(max_length=255, null=True)), ('title_zh', models.CharField(max_length=255, null=True)), ('slug', models.SlugField(max_length=255)), ('slug_ru', models.SlugField(max_length=255, null=True)), ('slug_am', models.SlugField(max_length=255, null=True)), ('slug_bg', models.SlugField(max_length=255, null=True)), ('slug_en', models.SlugField(max_length=255, null=True)), ('slug_uk', models.SlugField(max_length=255, null=True)), ('slug_he', models.SlugField(max_length=255, null=True)), ('slug_ar', models.SlugField(max_length=255, null=True)), ('slug_zh', models.SlugField(max_length=255, null=True)), ('city', models.CharField(max_length=255)), ('city_ru', models.CharField(max_length=255, null=True)), ('city_am', models.CharField(max_length=255, null=True)), ('city_bg', models.CharField(max_length=255, null=True)), ('city_en', models.CharField(max_length=255, null=True)), ('city_uk', models.CharField(max_length=255, null=True)), ('city_he', models.CharField(max_length=255, null=True)), ('city_ar', models.CharField(max_length=255, null=True)), ('city_zh', models.CharField(max_length=255, null=True)), ('description', models.TextField()), ('description_ru', models.TextField(null=True)), ('description_am', models.TextField(null=True)), ('description_bg', models.TextField(null=True)), ('description_en', models.TextField(null=True)), ('description_uk', models.TextField(null=True)), ('description_he', models.TextField(null=True)), ('description_ar', models.TextField(null=True)), ('description_zh', models.TextField(null=True)), ('requirements', models.TextField()), ('requirements_ru', models.TextField(null=True)), ('requirements_am', models.TextField(null=True)), ('requirements_bg', models.TextField(null=True)), ('requirements_en', models.TextField(null=True)), ('requirements_uk', models.TextField(null=True)), ('requirements_he', models.TextField(null=True)), ('requirements_ar', models.TextField(null=True)), ('requirements_zh', models.TextField(null=True)), ('terms', models.TextField()), ('terms_ru', models.TextField(null=True)), ('terms_am', models.TextField(null=True)), ('terms_bg', models.TextField(null=True)), ('terms_en', models.TextField(null=True)), ('terms_uk', models.TextField(null=True)), ('terms_he', models.TextField(null=True)), ('terms_ar', models.TextField(null=True)), ('terms_zh', models.TextField(null=True)), ('is_anonymous', models.BooleanField(default=False)), ('keywords', models.CharField(blank=True, max_length=255)), ('keywords_ru', models.CharField(blank=True, max_length=255, null=True)), ('keywords_am', models.CharField(blank=True, max_length=255, null=True)), ('keywords_bg', models.CharField(blank=True, max_length=255, null=True)), ('keywords_en', models.CharField(blank=True, max_length=255, null=True)), ('keywords_uk', models.CharField(blank=True, max_length=255, null=True)), ('keywords_he', models.CharField(blank=True, max_length=255, null=True)), ('keywords_ar', models.CharField(blank=True, max_length=255, null=True)), ('keywords_zh', models.CharField(blank=True, max_length=255, null=True)), ('type_of_employment', models.CharField(choices=[('full_time', 'Full-time'), ('partial', 'Partial'), ('shifts', 'Shifts'), ('for_students', 'For students')], max_length=10)), ('is_active', models.BooleanField(default=True)), ('is_deleted', models.BooleanField(default=False)), ('created_at', models.DateTimeField(db_index=True, default=django.utils.timezone.now)), ('updated_at', models.DateTimeField(auto_now=True)), ('country', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='b24online.Country')), ('created_by', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='requirement_create_user', to=settings.AUTH_USER_MODEL)), ('updated_by', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='requirement_update_user', to=settings.AUTH_USER_MODEL)), ('vacancy', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='job_requirement', to='b24online.Vacancy')), ], bases=(b24online.models.ActiveModelMixing, models.Model, b24online.models.IndexedModelMixin), ), migrations.CreateModel( name='Resume', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('title', models.CharField(max_length=255)), ('title_ru', models.CharField(max_length=255, null=True)), ('title_am', models.CharField(max_length=255, null=True)), ('title_bg', models.CharField(max_length=255, null=True)), ('title_en', models.CharField(max_length=255, null=True)), ('title_uk', models.CharField(max_length=255, null=True)), ('title_he', models.CharField(max_length=255, null=True)), ('title_ar', models.CharField(max_length=255, null=True)), ('title_zh', models.CharField(max_length=255, null=True)), ('slug', models.SlugField(max_length=255)), ('slug_ru', models.SlugField(max_length=255, null=True)), ('slug_am', models.SlugField(max_length=255, null=True)), ('slug_bg', models.SlugField(max_length=255, null=True)), ('slug_en', models.SlugField(max_length=255, null=True)), ('slug_uk', models.SlugField(max_length=255, null=True)), ('slug_he', models.SlugField(max_length=255, null=True)), ('slug_ar', models.SlugField(max_length=255, null=True)), ('slug_zh', models.SlugField(max_length=255, null=True)), ('marital_status', models.CharField(blank=True, choices=[('married', 'Married'), ('widowed', 'Widowed'), ('separated', 'Separated'), ('divorced', 'Divorced'), ('single', 'Single')], max_length=10, null=True)), ('nationality', models.CharField(blank=True, max_length=255)), ('nationality_ru', models.CharField(blank=True, max_length=255, null=True)), ('nationality_am', models.CharField(blank=True, max_length=255, null=True)), ('nationality_bg', models.CharField(blank=True, max_length=255, null=True)), ('nationality_en', models.CharField(blank=True, max_length=255, null=True)), ('nationality_uk', models.CharField(blank=True, max_length=255, null=True)), ('nationality_he', models.CharField(blank=True, max_length=255, null=True)), ('nationality_ar', models.CharField(blank=True, max_length=255, null=True)), ('nationality_zh', models.CharField(blank=True, max_length=255, null=True)), ('telephone_number', models.CharField(max_length=255)), ('address', models.CharField(blank=True, max_length=255, null=True)), ('address_ru', models.CharField(blank=True, max_length=255, null=True)), ('address_am', models.CharField(blank=True, max_length=255, null=True)), ('address_bg', models.CharField(blank=True, max_length=255, null=True)), ('address_en', models.CharField(blank=True, max_length=255, null=True)), ('address_uk', models.CharField(blank=True, max_length=255, null=True)), ('address_he', models.CharField(blank=True, max_length=255, null=True)), ('address_ar', models.CharField(blank=True, max_length=255, null=True)), ('address_zh', models.CharField(blank=True, max_length=255, null=True)), ('faculty', models.CharField(blank=True, max_length=255, null=True)), ('faculty_ru', models.CharField(blank=True, max_length=255, null=True)), ('faculty_am', models.CharField(blank=True, max_length=255, null=True)), ('faculty_bg', models.CharField(blank=True, max_length=255, null=True)), ('faculty_en', models.CharField(blank=True, max_length=255, null=True)), ('faculty_uk', models.CharField(blank=True, max_length=255, null=True)), ('faculty_he', models.CharField(blank=True, max_length=255, null=True)), ('faculty_ar', models.CharField(blank=True, max_length=255, null=True)), ('faculty_zh', models.CharField(blank=True, max_length=255, null=True)), ('profession', models.CharField(blank=True, max_length=255, null=True)), ('profession_ru', models.CharField(blank=True, max_length=255, null=True)), ('profession_am', models.CharField(blank=True, max_length=255, null=True)), ('profession_bg', models.CharField(blank=True, max_length=255, null=True)), ('profession_en', models.CharField(blank=True, max_length=255, null=True)), ('profession_uk', models.CharField(blank=True, max_length=255, null=True)), ('profession_he', models.CharField(blank=True, max_length=255, null=True)), ('profession_ar', models.CharField(blank=True, max_length=255, null=True)), ('profession_zh', models.CharField(blank=True, max_length=255, null=True)), ('is_active', models.BooleanField(default=True)), ('is_deleted', models.BooleanField(default=False)), ('study_start_date', models.DateField(blank=True, null=True)), ('study_end_date', models.DateField(blank=True, null=True)), ('study_form', models.CharField(blank=True, choices=[('extramural', 'Extramural'), ('full_time', 'Full-time')], max_length=30, null=True)), ('company_exp_1', models.CharField(blank=True, max_length=255, null=True)), ('company_exp_1_ru', models.CharField(blank=True, max_length=255, null=True)), ('company_exp_1_am', models.CharField(blank=True, max_length=255, null=True)), ('company_exp_1_bg', models.CharField(blank=True, max_length=255, null=True)), ('company_exp_1_en', models.CharField(blank=True, max_length=255, null=True)), ('company_exp_1_uk', models.CharField(blank=True, max_length=255, null=True)), ('company_exp_1_he', models.CharField(blank=True, max_length=255, null=True)), ('company_exp_1_ar', models.CharField(blank=True, max_length=255, null=True)), ('company_exp_1_zh', models.CharField(blank=True, max_length=255, null=True)), ('company_exp_2', models.CharField(blank=True, max_length=255, null=True)), ('company_exp_2_ru', models.CharField(blank=True, max_length=255, null=True)), ('company_exp_2_am', models.CharField(blank=True, max_length=255, null=True)), ('company_exp_2_bg', models.CharField(blank=True, max_length=255, null=True)), ('company_exp_2_en', models.CharField(blank=True, max_length=255, null=True)), ('company_exp_2_uk', models.CharField(blank=True, max_length=255, null=True)), ('company_exp_2_he', models.CharField(blank=True, max_length=255, null=True)), ('company_exp_2_ar', models.CharField(blank=True, max_length=255, null=True)), ('company_exp_2_zh', models.CharField(blank=True, max_length=255, null=True)), ('company_exp_3', models.CharField(blank=True, max_length=255, null=True)), ('company_exp_3_ru', models.CharField(blank=True, max_length=255, null=True)), ('company_exp_3_am', models.CharField(blank=True, max_length=255, null=True)), ('company_exp_3_bg', models.CharField(blank=True, max_length=255, null=True)), ('company_exp_3_en', models.CharField(blank=True, max_length=255, null=True)), ('company_exp_3_uk', models.CharField(blank=True, max_length=255, null=True)), ('company_exp_3_he', models.CharField(blank=True, max_length=255, null=True)), ('company_exp_3_ar', models.CharField(blank=True, max_length=255, null=True)), ('company_exp_3_zh', models.CharField(blank=True, max_length=255, null=True)), ('position_exp_1', models.CharField(blank=True, max_length=255, null=True)), ('position_exp_1_ru', models.CharField(blank=True, max_length=255, null=True)), ('position_exp_1_am', models.CharField(blank=True, max_length=255, null=True)), ('position_exp_1_bg', models.CharField(blank=True, max_length=255, null=True)), ('position_exp_1_en', models.CharField(blank=True, max_length=255, null=True)), ('position_exp_1_uk', models.CharField(blank=True, max_length=255, null=True)), ('position_exp_1_he', models.CharField(blank=True, max_length=255, null=True)), ('position_exp_1_ar', models.CharField(blank=True, max_length=255, null=True)), ('position_exp_1_zh', models.CharField(blank=True, max_length=255, null=True)), ('position_exp_2', models.CharField(blank=True, max_length=255, null=True)), ('position_exp_2_ru', models.CharField(blank=True, max_length=255, null=True)), ('position_exp_2_am', models.CharField(blank=True, max_length=255, null=True)), ('position_exp_2_bg', models.CharField(blank=True, max_length=255, null=True)), ('position_exp_2_en', models.CharField(blank=True, max_length=255, null=True)), ('position_exp_2_uk', models.CharField(blank=True, max_length=255, null=True)), ('position_exp_2_he', models.CharField(blank=True, max_length=255, null=True)), ('position_exp_2_ar', models.CharField(blank=True, max_length=255, null=True)), ('position_exp_2_zh', models.CharField(blank=True, max_length=255, null=True)), ('position_exp_3', models.CharField(blank=True, max_length=255, null=True)), ('position_exp_3_ru', models.CharField(blank=True, max_length=255, null=True)), ('position_exp_3_am', models.CharField(blank=True, max_length=255, null=True)), ('position_exp_3_bg', models.CharField(blank=True, max_length=255, null=True)), ('position_exp_3_en', models.CharField(blank=True, max_length=255, null=True)), ('position_exp_3_uk', models.CharField(blank=True, max_length=255, null=True)), ('position_exp_3_he', models.CharField(blank=True, max_length=255, null=True)), ('position_exp_3_ar', models.CharField(blank=True, max_length=255, null=True)), ('position_exp_3_zh', models.CharField(blank=True, max_length=255, null=True)), ('start_date_exp_1', models.DateField(blank=True, null=True)), ('start_date_exp_2', models.DateField(blank=True, null=True)), ('start_date_exp_3', models.DateField(blank=True, null=True)), ('end_date_exp_1', models.DateField(blank=True, null=True)), ('end_date_exp_2', models.DateField(blank=True, null=True)), ('end_date_exp_3', models.DateField(blank=True, null=True)), ('additional_study', models.CharField(blank=True, max_length=1024, null=True)), ('additional_study_ru', models.CharField(blank=True, max_length=1024, null=True)), ('additional_study_am', models.CharField(blank=True, max_length=1024, null=True)), ('additional_study_bg', models.CharField(blank=True, max_length=1024, null=True)), ('additional_study_en', models.CharField(blank=True, max_length=1024, null=True)), ('additional_study_uk', models.CharField(blank=True, max_length=1024, null=True)), ('additional_study_he', models.CharField(blank=True, max_length=1024, null=True)), ('additional_study_ar', models.CharField(blank=True, max_length=1024, null=True)), ('additional_study_zh', models.CharField(blank=True, max_length=1024, null=True)), ('language_skill', models.CharField(blank=True, max_length=1024, null=True)), ('language_skill_ru', models.CharField(blank=True, max_length=1024, null=True)), ('language_skill_am', models.CharField(blank=True, max_length=1024, null=True)), ('language_skill_bg', models.CharField(blank=True, max_length=1024, null=True)), ('language_skill_en', models.CharField(blank=True, max_length=1024, null=True)), ('language_skill_uk', models.CharField(blank=True, max_length=1024, null=True)), ('language_skill_he', models.CharField(blank=True, max_length=1024, null=True)), ('language_skill_ar', models.CharField(blank=True, max_length=1024, null=True)), ('language_skill_zh', models.CharField(blank=True, max_length=1024, null=True)), ('computer_skill', models.CharField(blank=True, max_length=1024, null=True)), ('computer_skill_ru', models.CharField(blank=True, max_length=1024, null=True)), ('computer_skill_am', models.CharField(blank=True, max_length=1024, null=True)), ('computer_skill_bg', models.CharField(blank=True, max_length=1024, null=True)), ('computer_skill_en', models.CharField(blank=True, max_length=1024, null=True)), ('computer_skill_uk', models.CharField(blank=True, max_length=1024, null=True)), ('computer_skill_he', models.CharField(blank=True, max_length=1024, null=True)), ('computer_skill_ar', models.CharField(blank=True, max_length=1024, null=True)), ('computer_skill_zh', models.CharField(blank=True, max_length=1024, null=True)), ('additional_skill', models.CharField(blank=True, max_length=1024, null=True)), ('additional_skill_ru', models.CharField(blank=True, max_length=1024, null=True)), ('additional_skill_am', models.CharField(blank=True, max_length=1024, null=True)), ('additional_skill_bg', models.CharField(blank=True, max_length=1024, null=True)), ('additional_skill_en', models.CharField(blank=True, max_length=1024, null=True)), ('additional_skill_uk', models.CharField(blank=True, max_length=1024, null=True)), ('additional_skill_he', models.CharField(blank=True, max_length=1024, null=True)), ('additional_skill_ar', models.CharField(blank=True, max_length=1024, null=True)), ('additional_skill_zh', models.CharField(blank=True, max_length=1024, null=True)), ('salary', models.CharField(blank=True, max_length=100, null=True)), ('additional_information', models.TextField(blank=True, max_length=100, null=True)), ('additional_information_ru', models.TextField(blank=True, max_length=100, null=True)), ('additional_information_am', models.TextField(blank=True, max_length=100, null=True)), ('additional_information_bg', models.TextField(blank=True, max_length=100, null=True)), ('additional_information_en', models.TextField(blank=True, max_length=100, null=True)), ('additional_information_uk', models.TextField(blank=True, max_length=100, null=True)), ('additional_information_he', models.TextField(blank=True, max_length=100, null=True)), ('additional_information_ar', models.TextField(blank=True, max_length=100, null=True)), ('additional_information_zh', models.TextField(blank=True, max_length=100, null=True)), ('institution', models.CharField(blank=True, max_length=100, null=True)), ('institution_ru', models.CharField(blank=True, max_length=100, null=True)), ('institution_am', models.CharField(blank=True, max_length=100, null=True)), ('institution_bg', models.CharField(blank=True, max_length=100, null=True)), ('institution_en', models.CharField(blank=True, max_length=100, null=True)), ('institution_uk', models.CharField(blank=True, max_length=100, null=True)), ('institution_he', models.CharField(blank=True, max_length=100, null=True)), ('institution_ar', models.CharField(blank=True, max_length=100, null=True)), ('institution_zh', models.CharField(blank=True, max_length=100, null=True)), ('created_at', models.DateTimeField(default=django.utils.timezone.now)), ('updated_at', models.DateTimeField(auto_now=True)), ('updated_by', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='resume_update_user', to=settings.AUTH_USER_MODEL)), ('user', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)), ], bases=(b24online.models.ActiveModelMixing, models.Model, b24online.models.IndexedModelMixin), ), migrations.AlterIndexTogether( name='resume', index_together=set([('created_at', 'user')]), ), ]
class Migration(migrations.Migration): dependencies = [ ('contenttypes', '0002_remove_content_type_name'), ('centerpokupok', '0002_b2cproduct_producer'), ('b24online', '0006_auto_20160311_1218'), ] operations = [ migrations.CreateModel( name='Answer', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('created_at', models.DateTimeField(db_index=True, default=django.utils.timezone.now, verbose_name='Creation time')), ('updated_at', models.DateTimeField(auto_now=True, null=True, verbose_name='Update time')), ('answer', models.NullBooleanField(default=False, verbose_name='Answer')), ('created_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='answer_create_user', to=settings.AUTH_USER_MODEL, verbose_name='Creator')), ], options={ 'verbose_name': 'Question answer', 'verbose_name_plural': 'Questions answers', }, bases=(b24online.models.ActiveModelMixing, models.Model), ), migrations.CreateModel( name='Question', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('created_at', models.DateTimeField(db_index=True, default=django.utils.timezone.now, verbose_name='Creation time')), ('updated_at', models.DateTimeField(auto_now=True, null=True, verbose_name='Update time')), ('who_created', models.CharField(blank=True, choices=[('author', 'By author'), ('member', 'By member')], default='author', max_length=10, null=True, verbose_name='Who is the author')), ('question_text', models.TextField(verbose_name='Question text')), ('description', models.TextField(blank=True, null=True, verbose_name='Descripion')), ('position', models.PositiveIntegerField( blank=True, null=True, verbose_name='The question position in the set')), ('is_active', models.BooleanField(default=True)), ('is_deleted', models.BooleanField(default=False)), ('created_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='question_create_user', to=settings.AUTH_USER_MODEL, verbose_name='Creator')), ], options={ 'verbose_name': 'Question', 'verbose_name_plural': 'Questions', }, bases=(b24online.models.ActiveModelMixing, models.Model), ), migrations.CreateModel( name='Questionnaire', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('created_at', models.DateTimeField(db_index=True, default=django.utils.timezone.now, verbose_name='Creation time')), ('updated_at', models.DateTimeField(auto_now=True, null=True, verbose_name='Update time')), ('name', models.CharField(max_length=255, verbose_name='Questionnaire title')), ('short_description', models.TextField(blank=True, null=True, verbose_name='Short description')), ('description', models.TextField(blank=True, null=True, verbose_name='Descripion')), ('image', b24online.custom.CustomImageField( blank=True, max_length=255, null=True, storage=b24online.custom.S3ImageStorage(), upload_to=b24online.utils.generate_upload_path)), ('object_id', models.PositiveIntegerField()), ('is_active', models.BooleanField(default=True)), ('is_deleted', models.BooleanField(default=False)), ('content_type', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='contenttypes.ContentType')), ('created_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='questionnaire_create_user', to=settings.AUTH_USER_MODEL, verbose_name='Creator')), ('updated_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='questionnaire_update_user', to=settings.AUTH_USER_MODEL, verbose_name='Editor')), ], options={ 'verbose_name': 'Questionnaire', 'verbose_name_plural': 'Questionnaires', }, bases=(b24online.models.ActiveModelMixing, models.Model), ), migrations.CreateModel( name='QuestionnaireCase', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('created_at', models.DateTimeField(db_index=True, default=django.utils.timezone.now, verbose_name='Creation time')), ('updated_at', models.DateTimeField(auto_now=True, null=True, verbose_name='Update time')), ('case_uuid', models.UUIDField(default=uuid.uuid4, editable=False, unique=True)), ('status', models.CharField(choices=[('draft', 'Draft'), ('ready', 'Ready'), ('active', 'Actiive'), ('FINISHED', 'Finished')], db_index=True, default='draft', editable=False, max_length=20, verbose_name='Status')), ('is_active', models.BooleanField(default=True)), ('is_deleted', models.BooleanField(default=False)), ('created_by', models.ForeignKey( blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='questionnairecase_create_user', to=settings.AUTH_USER_MODEL, verbose_name='Creator')), ('extra_questions', models.ManyToManyField(to='b24online.Question')), ], options={ 'verbose_name': 'Questionnaire case', 'verbose_name_plural': 'Questionnaire cases', }, bases=(b24online.models.ActiveModelMixing, models.Model), ), migrations.CreateModel( name='QuestionnaireParticipant', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('email', models.EmailField(db_index=True, max_length=255, verbose_name='E-mail')), ('is_invited', models.BooleanField(default=False)), ('is_active', models.BooleanField(default=True)), ('user', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='questionnaire_cases', to=settings.AUTH_USER_MODEL)), ], options={ 'verbose_name': 'Questionnaire participant', 'verbose_name_plural': 'Questionnaire participants', }, bases=(b24online.models.ActiveModelMixing, models.Model), ), migrations.CreateModel( name='Recommendation', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('created_at', models.DateTimeField(db_index=True, default=django.utils.timezone.now, verbose_name='Creation time')), ('updated_at', models.DateTimeField(auto_now=True, null=True, verbose_name='Update time')), ('name', models.CharField(blank=True, max_length=255, null=True, verbose_name='Name')), ('description', models.TextField(blank=True, null=True, verbose_name='Descripion')), ('is_active', models.BooleanField(default=True)), ('is_deleted', models.BooleanField(default=False)), ('created_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='recommendation_create_user', to=settings.AUTH_USER_MODEL, verbose_name='Creator')), ('question', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='recommendations', to='b24online.Question')), ('updated_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='recommendation_update_user', to=settings.AUTH_USER_MODEL, verbose_name='Editor')), ], options={ 'verbose_name': 'Recommendation', 'verbose_name_plural': 'Recommendations', }, bases=(b24online.models.ActiveModelMixing, models.Model), ), migrations.AddField( model_name='producer', name='b2b_categories', field=models.ManyToManyField(related_name='producers', to='b24online.B2BProductCategory'), ), migrations.AddField( model_name='producer', name='b2c_categories', field=models.ManyToManyField( related_name='producers', to='centerpokupok.B2CProductCategory'), ), migrations.AddField( model_name='producer', name='is_active', field=models.BooleanField(default=True), ), migrations.AddField( model_name='producer', name='is_approved', field=models.BooleanField(default=True), ), migrations.AddField( model_name='producer', name='is_deleted', field=models.BooleanField(default=False), ), migrations.AddField( model_name='questionnairecase', name='participants', field=models.ManyToManyField( to='b24online.QuestionnaireParticipant'), ), migrations.AddField( model_name='questionnairecase', name='questionnaire', field=models.ForeignKey( on_delete=django.db.models.deletion.CASCADE, related_name='cases', to='b24online.Questionnaire'), ), migrations.AddField( model_name='questionnairecase', name='recommendations', field=models.ManyToManyField(to='b24online.Recommendation'), ), migrations.AddField( model_name='questionnairecase', name='updated_by', field=models.ForeignKey( blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='questionnairecase_update_user', to=settings.AUTH_USER_MODEL, verbose_name='Editor'), ), migrations.AddField( model_name='question', name='questionnaire', field=models.ForeignKey( on_delete=django.db.models.deletion.CASCADE, related_name='questions', to='b24online.Questionnaire'), ), migrations.AddField( model_name='question', name='updated_by', field=models.ForeignKey( blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='question_update_user', to=settings.AUTH_USER_MODEL, verbose_name='Editor'), ), migrations.AddField( model_name='answer', name='participant', field=models.ForeignKey( on_delete=django.db.models.deletion.CASCADE, related_name='answers', to='b24online.QuestionnaireParticipant', verbose_name='Answer author'), ), migrations.AddField( model_name='answer', name='question', field=models.ForeignKey( null=True, on_delete=django.db.models.deletion.CASCADE, related_name='questions', to='b24online.Question', verbose_name='Question'), ), migrations.AddField( model_name='answer', name='questionnaire_case', field=models.ForeignKey( null=True, on_delete=django.db.models.deletion.CASCADE, related_name='questionnaire_cases', to='b24online.QuestionnaireCase', verbose_name='Questionnaire cases'), ), migrations.AddField( model_name='answer', name='updated_by', field=models.ForeignKey( blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='answer_update_user', to=settings.AUTH_USER_MODEL, verbose_name='Editor'), ), ]
class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('sites', '0002_alter_domain_unique'), ('b24online', '0001_initial'), ] operations = [ migrations.CreateModel( name='ExternalSiteTemplate', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('name', models.CharField(max_length=255)), ('name_ru', models.CharField(max_length=255, null=True)), ('name_am', models.CharField(max_length=255, null=True)), ('name_bg', models.CharField(max_length=255, null=True)), ('name_en', models.CharField(max_length=255, null=True)), ('name_uk', models.CharField(max_length=255, null=True)), ('name_he', models.CharField(max_length=255, null=True)), ('name_ar', models.CharField(max_length=255, null=True)), ('name_zh', models.CharField(max_length=255, null=True)), ('folder_name', models.CharField(max_length=255)), ], ), migrations.CreateModel( name='UserSite', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('slogan', models.CharField(blank=True, max_length=2048, null=True)), ('slogan_ru', models.CharField(blank=True, max_length=2048, null=True)), ('slogan_am', models.CharField(blank=True, max_length=2048, null=True)), ('slogan_bg', models.CharField(blank=True, max_length=2048, null=True)), ('slogan_en', models.CharField(blank=True, max_length=2048, null=True)), ('slogan_uk', models.CharField(blank=True, max_length=2048, null=True)), ('slogan_he', models.CharField(blank=True, max_length=2048, null=True)), ('slogan_ar', models.CharField(blank=True, max_length=2048, null=True)), ('slogan_zh', models.CharField(blank=True, max_length=2048, null=True)), ('is_active', models.BooleanField(default=True)), ('is_deleted', models.BooleanField(default=False)), ('logo', b24online.custom.CustomImageField( max_length=255, storage=b24online.custom.S3ImageStorage(), upload_to=b24online.utils.generate_upload_path)), ('footer_text', models.TextField(blank=True, null=True)), ('footer_text_ru', models.TextField(blank=True, null=True)), ('footer_text_am', models.TextField(blank=True, null=True)), ('footer_text_bg', models.TextField(blank=True, null=True)), ('footer_text_en', models.TextField(blank=True, null=True)), ('footer_text_uk', models.TextField(blank=True, null=True)), ('footer_text_he', models.TextField(blank=True, null=True)), ('footer_text_ar', models.TextField(blank=True, null=True)), ('footer_text_zh', models.TextField(blank=True, null=True)), ('domain_part', models.CharField(max_length=100)), ('created_at', models.DateTimeField(default=django.utils.timezone.now)), ('updated_at', models.DateTimeField(auto_now=True)), ('created_by', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='usersite_create_user', to=settings.AUTH_USER_MODEL)), ('organization', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='b24online.Organization')), ('site', models.OneToOneField( blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='user_site', to='sites.Site')), ('template', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='usersites.ExternalSiteTemplate')), ('updated_by', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='usersite_update_user', to=settings.AUTH_USER_MODEL)), ], bases=(b24online.models.ActiveModelMixing, models.Model), ), migrations.CreateModel( name='UserSiteTemplate', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('name', models.CharField(max_length=255)), ('thumbnail', b24online.custom.CustomImageField( max_length=255, storage=b24online.custom.S3ImageStorage(), upload_to=b24online.utils.generate_upload_path)), ('folder_name', models.CharField(max_length=255)), ], ), migrations.AddField( model_name='usersite', name='user_template', field=models.ForeignKey( blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='usersites.UserSiteTemplate'), ), ]