Skip to content

Commit 44dbbc1

Browse files
committed
Add a help text indicating where the "contributions" field is used
Per discussion among moderators
1 parent 83493b5 commit 44dbbc1

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

pgweb/contributors/migrations/0001_initial.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class Migration(migrations.Migration):
2222
('company', models.CharField(max_length=100, null=True, blank=True)),
2323
('companyurl', models.URLField(max_length=100, null=True, verbose_name='Company URL', blank=True)),
2424
('location', models.CharField(max_length=100, null=True, blank=True)),
25-
('contribution', models.TextField(null=True, blank=True)),
25+
('contribution', models.TextField(null=True, blank=True, help_text='This description is currently used for major contributors only')),
2626
],
2727
options={
2828
'ordering': ('lastname', 'firstname'),

pgweb/contributors/models.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ class Contributor(models.Model):
2626
company = models.CharField(max_length=100, null=True, blank=True)
2727
companyurl = models.URLField(max_length=100, null=True, blank=True, verbose_name='Company URL')
2828
location = models.CharField(max_length=100, null=True, blank=True)
29-
contribution = models.TextField(null=True, blank=True)
29+
contribution = models.TextField(null=True, blank=True,
30+
help_text='This description is currently used for major contributors only')
3031
user = models.ForeignKey(User, null=True, blank=True, on_delete=models.CASCADE)
3132

3233
send_notification = True

0 commit comments

Comments
 (0)