Django Library PaTT
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

0004_auto_20191004_1125.py 1.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. # Generated by Django 2.2.5 on 2019-10-04 11:25
  2. from django.db import migrations, models
  3. import django.db.models.deletion
  4. class Migration(migrations.Migration):
  5. dependencies = [
  6. ('patt', '0003_remove_tasklistsetting_sorttype'),
  7. ]
  8. operations = [
  9. migrations.CreateModel(
  10. name='ViewSetting',
  11. fields=[
  12. ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
  13. ('view', models.CharField(max_length=50)),
  14. ('userfilter', models.CharField(default='all', max_length=50)),
  15. ('statefilter', models.CharField(default='1,0', max_length=50)),
  16. ('displaytype', models.CharField(default='short', max_length=50)),
  17. ],
  18. ),
  19. migrations.RemoveField(
  20. model_name='userprofile',
  21. name='current_tasklistsetting',
  22. ),
  23. migrations.RemoveField(
  24. model_name='userprofile',
  25. name='my_tasklistsettings',
  26. ),
  27. migrations.AddField(
  28. model_name='userprofile',
  29. name='viewsettings',
  30. field=models.TextField(default='{}'),
  31. ),
  32. migrations.DeleteModel(
  33. name='TaskListSetting',
  34. ),
  35. migrations.AddField(
  36. model_name='viewsetting',
  37. name='profile',
  38. field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='patt.UserProfile'),
  39. ),
  40. ]