Add a help text indicating where the "contributions" field is used
authorMagnus Hagander <magnus@hagander.net>
Wed, 15 Jan 2025 12:20:41 +0000 (13:20 +0100)
committerMagnus Hagander <magnus@hagander.net>
Wed, 15 Jan 2025 12:20:41 +0000 (13:20 +0100)
Per discussion among moderators

pgweb/contributors/migrations/0001_initial.py
pgweb/contributors/models.py

index ed7c84f2e31699dc53de15625346bfecba703e56..c7d1bd172d3adb7569227c8625a2ed44aa6a8363 100644 (file)
@@ -22,7 +22,7 @@ class Migration(migrations.Migration):
                 ('company', models.CharField(max_length=100, null=True, blank=True)),
                 ('companyurl', models.URLField(max_length=100, null=True, verbose_name='Company URL', blank=True)),
                 ('location', models.CharField(max_length=100, null=True, blank=True)),
-                ('contribution', models.TextField(null=True, blank=True)),
+                ('contribution', models.TextField(null=True, blank=True, help_text='This description is currently used for major contributors only')),
             ],
             options={
                 'ordering': ('lastname', 'firstname'),
index 4e6bf5c07fdd5f4d6cf652539b88d8bf29e67d6b..342cddb257a04b62f1c16051c34995a1bd8fdccd 100644 (file)
@@ -26,7 +26,8 @@ class Contributor(models.Model):
     company = models.CharField(max_length=100, null=True, blank=True)
     companyurl = models.URLField(max_length=100, null=True, blank=True, verbose_name='Company URL')
     location = models.CharField(max_length=100, null=True, blank=True)
-    contribution = models.TextField(null=True, blank=True)
+    contribution = models.TextField(null=True, blank=True,
+                                    help_text='This description is currently used for major contributors only')
     user = models.ForeignKey(User, null=True, blank=True, on_delete=models.CASCADE)
 
     send_notification = True