summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMagnus Hagander2025-01-15 12:20:41 +0000
committerMagnus Hagander2025-01-15 12:20:41 +0000
commit44dbbc162a7c0f96e0368d99d4ca259c287cdaed (patch)
treea61c765fa9f03c41960bb46a270e2f186461d480
parent83493b5da6ce55d515d910cc2fee0ab69e720f16 (diff)
Add a help text indicating where the "contributions" field is used
Per discussion among moderators
-rw-r--r--pgweb/contributors/migrations/0001_initial.py2
-rw-r--r--pgweb/contributors/models.py3
2 files changed, 3 insertions, 2 deletions
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