0002_auto_20190213_0140.py 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. # -*- coding: utf-8 -*-
  2. from __future__ import unicode_literals
  3. from django.db import migrations, models
  4. from django.conf import settings
  5. class Migration(migrations.Migration):
  6. dependencies = [
  7. ('maillists', '0001_initial'),
  8. ]
  9. operations = [
  10. migrations.AlterModelOptions(
  11. name='maillinglistsubscription',
  12. options={'verbose_name': 'abonnement \xe0 une liste mail', 'verbose_name_plural': 'abonnements aux listes mail'},
  13. ),
  14. migrations.AlterField(
  15. model_name='maillinglist',
  16. name='email',
  17. field=models.EmailField(unique=True, max_length=254, verbose_name="adresse mail d'envoi"),
  18. ),
  19. migrations.AlterField(
  20. model_name='maillinglist',
  21. name='short_name',
  22. field=models.CharField(help_text='c\'est l\'identifiant qui servira \xe0 communiquer avec le serveur de liste mail (typiquement, la partie avant le "@" dans l\'adress )', unique=True, max_length=50, verbose_name='identifiant technique'),
  23. ),
  24. migrations.AlterField(
  25. model_name='maillinglistsubscription',
  26. name='maillinglist',
  27. field=models.ForeignKey(verbose_name='liste mail', to='maillists.MaillingList'),
  28. ),
  29. migrations.AlterField(
  30. model_name='maillinglistsubscription',
  31. name='member',
  32. field=models.ForeignKey(verbose_name='membre', to=settings.AUTH_USER_MODEL),
  33. ),
  34. migrations.AlterUniqueTogether(
  35. name='maillinglistsubscription',
  36. unique_together=set([('member', 'maillinglist')]),
  37. ),
  38. ]