From: Magnus Hagander Date: Wed, 15 Jan 2025 12:20:41 +0000 (+0100) Subject: Add a help text indicating where the "contributions" field is used X-Git-Url: http://waps.l3s.uni-hannover.de/gitweb/?a=commitdiff_plain;h=44dbbc162a7c0f96e0368d99d4ca259c287cdaed;p=pgweb.git Add a help text indicating where the "contributions" field is used Per discussion among moderators --- diff --git a/pgweb/contributors/migrations/0001_initial.py b/pgweb/contributors/migrations/0001_initial.py index ed7c84f2..c7d1bd17 100644 --- a/pgweb/contributors/migrations/0001_initial.py +++ b/pgweb/contributors/migrations/0001_initial.py @@ -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'), diff --git a/pgweb/contributors/models.py b/pgweb/contributors/models.py index 4e6bf5c0..342cddb2 100644 --- a/pgweb/contributors/models.py +++ b/pgweb/contributors/models.py @@ -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