Consistently refer to Community events in submission form
authorMagnus Hagander <magnus@hagander.net>
Thu, 21 Dec 2017 10:43:58 +0000 (11:43 +0100)
committerMagnus Hagander <magnus@hagander.net>
Thu, 21 Dec 2017 10:45:32 +0000 (11:45 +0100)
Original patch had "badged", and it was renamed to Community event to
make it more clear, but all texts clearly didn't get the memo.

pgweb/events/migrations/0002_event_badged.py
pgweb/events/models.py

index edab01de443e25b79ed929e73f31d5b9dca2479e..8f0c79e54644fcfc7d2efd33ea3ea80d24ae541e 100644 (file)
@@ -14,11 +14,11 @@ class Migration(migrations.Migration):
         migrations.AddField(
             model_name='event',
             name='badged',
-            field=models.BooleanField(default=False, help_text=b'Choose "Badged" if this is a community recognized event following the <a href="/community/recognition/#conferences" target="_blank">community event guidelines</a>.', verbose_name=b'Community event'),
+            field=models.BooleanField(default=False, help_text=b'Choose "Community event" if this is a community recognized event following the <a href="/community/recognition/#conferences" target="_blank">community event guidelines</a>.', verbose_name=b'Community event'),
         ),
         migrations.AddField(
             model_name='event',
             name='description_for_badged',
-            field=models.TextField(help_text=b'Please describe how this is a community recognized event following the <a href="/community/recognition/#conferences" target="_blank">community event guidelines</a>. Please be as detailed as possible.', null=True, blank=True),
+            field=models.TextField(help_text=b'Please describe how this is a community recognized event following the <a href="/community/recognition/#conferences" target="_blank">community event guidelines</a>. Please be as detailed as possible.', null=True, blank=True, verbose_name=b'Description for community event'),
         ),
     ]
index e097bd8e1fbe8075409b94c95ccff3dbca7984aa..8ad18566ea5d7491f95ac4b773c87f7b725fff4b 100644 (file)
@@ -14,8 +14,8 @@ class Event(models.Model):
        language = models.ForeignKey(Language, null=True, blank=True, default='eng', help_text="Primary language for event. When multiple languages, specify this in the event description")
 
        training = models.BooleanField(null=False, blank=False, default=False)
-       badged = models.BooleanField(null=False, blank=False, default=False, verbose_name='Community event', help_text='Choose "Badged" if this is a community recognized event following the <a href="/community/recognition/#conferences" target="_blank">community event guidelines</a>.')
-       description_for_badged = models.TextField(blank=True, null=True, help_text='Please describe how this is a community recognized event following the <a href="/community/recognition/#conferences" target="_blank">community event guidelines</a>. Please be as detailed as possible.')
+       badged = models.BooleanField(null=False, blank=False, default=False, verbose_name='Community event', help_text='Choose "Community event" if this is a community recognized event following the <a href="/community/recognition/#conferences" target="_blank">community event guidelines</a>.')
+       description_for_badged = models.TextField(blank=True, null=True, verbose_name='Description for community event', help_text='Please describe how this is a community recognized event following the <a href="/community/recognition/#conferences" target="_blank">community event guidelines</a>. Please be as detailed as possible.')
        startdate = models.DateField(null=False, blank=False, verbose_name="Start date")
        enddate = models.DateField(null=False, blank=False, verbose_name="End date")