| 123456789101112131415161718192021222324252627282930313233343536 |
- # Generated by Django 3.2.6 on 2021-08-21 06:23
- from django.db import migrations
- import django.db.models.deletion
- import smart_selects.db_fields
- class Migration(migrations.Migration):
- dependencies = [
- ('fruit', '0031_auto_20210816_1519'),
- ('cms', '0011_post_products'),
- ]
- operations = [
- migrations.RemoveField(
- model_name='post',
- name='products',
- ),
- migrations.AddField(
- model_name='post',
- name='products1',
- field=smart_selects.db_fields.ChainedForeignKey(auto_choose=True, chained_field='top_store', chained_model_field='store', null=True, on_delete=django.db.models.deletion.CASCADE, related_name='product1', to='fruit.product'),
- ),
- migrations.AddField(
- model_name='post',
- name='products2',
- field=smart_selects.db_fields.ChainedForeignKey(auto_choose=True, chained_field='top_store', chained_model_field='store', null=True, on_delete=django.db.models.deletion.CASCADE, related_name='product2', to='fruit.product'),
- ),
- migrations.AddField(
- model_name='post',
- name='products3',
- field=smart_selects.db_fields.ChainedForeignKey(auto_choose=True, chained_field='top_store', chained_model_field='store', null=True, on_delete=django.db.models.deletion.CASCADE, related_name='product3', to='fruit.product'),
- ),
- ]
|