0003_auto_20200417_1830.py 883 B

12345678910111213141516171819202122232425262728293031
  1. # Generated by Django 3.0.3 on 2020-04-17 18:30
  2. from django.conf import settings
  3. from django.db import migrations, models
  4. import django.db.models.deletion
  5. import django.utils.timezone
  6. class Migration(migrations.Migration):
  7. dependencies = [
  8. ("users", "0002_auto_20200225_0247"),
  9. ]
  10. operations = [
  11. migrations.AddField(
  12. model_name="user",
  13. name="created",
  14. field=models.DateTimeField(
  15. auto_now_add=True, default=django.utils.timezone.now
  16. ),
  17. preserve_default=False,
  18. ),
  19. migrations.AddField(
  20. model_name="user",
  21. name="subscribe_by_default",
  22. field=models.BooleanField(
  23. default=True,
  24. help_text="Subscribe to project notifications by default. Overrides project settings",
  25. ),
  26. ),
  27. ]