Django Library PaTT
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

0013_auto_20210117_1332.py 1.4KB

12345678910111213141516171819202122232425262728293031323334353637
  1. # Generated by Django 3.1.5 on 2021-01-17 13:32
  2. from django.conf import settings
  3. from django.db import migrations, models
  4. import django.db.models.deletion
  5. class Migration(migrations.Migration):
  6. dependencies = [
  7. migrations.swappable_dependency(settings.AUTH_USER_MODEL),
  8. ('patt', '0012_auto_20200114_1035'),
  9. ]
  10. operations = [
  11. migrations.RemoveField(
  12. model_name='project',
  13. name='days_late',
  14. ),
  15. migrations.RemoveField(
  16. model_name='project',
  17. name='days_soon',
  18. ),
  19. migrations.RemoveField(
  20. model_name='project',
  21. name='days_very_soon',
  22. ),
  23. migrations.CreateModel(
  24. name='PattUserProfile',
  25. fields=[
  26. ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
  27. ('threshold_very_soon', models.IntegerField(choices=[(1, '1 day'), (2, '2 days'), (3, '3 days'), (4, '4 days'), (5, '5 days'), (7, '7 days'), (9, '9 days'), (12, '12 days')], default=4)),
  28. ('threshold_soon', models.IntegerField(choices=[(1, '1 day'), (2, '2 days'), (3, '3 days'), (5, '5 days'), (7, '7 days'), (10, '10 days'), (14, '14 days'), (21, ' days')], default=10)),
  29. ('user', models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
  30. ],
  31. ),
  32. ]