Keine Beschreibung

0012_auto_20210821_1323.py 1.4KB

123456789101112131415161718192021222324252627282930313233343536
  1. # Generated by Django 3.2.6 on 2021-08-21 06:23
  2. from django.db import migrations
  3. import django.db.models.deletion
  4. import smart_selects.db_fields
  5. class Migration(migrations.Migration):
  6. dependencies = [
  7. ('fruit', '0031_auto_20210816_1519'),
  8. ('cms', '0011_post_products'),
  9. ]
  10. operations = [
  11. migrations.RemoveField(
  12. model_name='post',
  13. name='products',
  14. ),
  15. migrations.AddField(
  16. model_name='post',
  17. name='products1',
  18. 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'),
  19. ),
  20. migrations.AddField(
  21. model_name='post',
  22. name='products2',
  23. 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'),
  24. ),
  25. migrations.AddField(
  26. model_name='post',
  27. name='products3',
  28. 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'),
  29. ),
  30. ]