Browse Source

Le champs notes des adhésions est obsolète

Élie Bouttier 6 years ago
parent
commit
cd80a830b3
2 changed files with 19 additions and 1 deletions
  1. 18 0
      adhesions/migrations/0020_auto_20190227_2058.py
  2. 1 1
      adhesions/models.py

+ 18 - 0
adhesions/migrations/0020_auto_20190227_2058.py

@@ -0,0 +1,18 @@
+# Generated by Django 2.1.1 on 2019-02-27 19:58
+
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+
+    dependencies = [
+        ('adhesions', '0019_auto_20180216_0016'),
+    ]
+
+    operations = [
+        migrations.AlterField(
+            model_name='adhesion',
+            name='notes',
+            field=models.TextField(blank=True, default='', help_text='Obsolète, ne plus ajouter d’informations ici.', verbose_name='Notes (obsolète)'),
+        ),
+    ]

+ 1 - 1
adhesions/models.py

@@ -79,7 +79,7 @@ class Adhesion(models.Model):
           | models.Q(app_label='adhesions', model='corporation')
     id = models.AutoField(verbose_name='Numéro d’adhérent·e', primary_key=True, editable=True)
     created = models.DateTimeField(null=True, blank=True, auto_now_add=True)
-    notes = models.TextField(blank=True, default='')
+    notes = models.TextField(blank=True, default='', verbose_name='Notes (obsolète)', help_text='Obsolète, ne plus ajouter d’informations ici.')
     active_legacy = models.NullBooleanField(default=None, verbose_name='Adhésion en cours')
 
     user = models.OneToOneField(User, null=True, on_delete=models.PROTECT)