Changeset - b0e62495d8e8
[Not reviewed]
0 1 1
Brett Smith - 3 years ago 2019-01-07 22:05:08
brettcsmith@brettcsmith.org
registrasion.models: Add help_text to dietary_restrictions.
2 files changed with 21 insertions and 0 deletions:
0 comments (0 inline, 0 general)
pinaxcon/registrasion/migrations/0007_auto_20190102_1617.py
Show inline comments
 
new file 100644
 
# -*- coding: utf-8 -*-
 
# Generated by Django 1.10.7 on 2019-01-02 21:17
 
from __future__ import unicode_literals
 

	
 
from django.db import migrations, models
 

	
 

	
 
class Migration(migrations.Migration):
 

	
 
    dependencies = [
 
        ('pinaxcon_registrasion', '0006_auto_20190102_1140'),
 
    ]
 

	
 
    operations = [
 
        migrations.AlterField(
 
            model_name='attendeeprofile',
 
            name='dietary_restrictions',
 
            field=models.CharField(blank=True, help_text=b'For example: vegetarian, vegan, gluten intolerant, low carb, allergic to _____, …', max_length=256, verbose_name=b'Food allergies, intolerances, or dietary restrictions'),
 
        ),
 
    ]
pinaxcon/registrasion/models.py
Show inline comments
...
 
@@ -123,6 +123,7 @@ class AttendeeProfile(rego.AttendeeProfileBase):
 

	
 
    dietary_restrictions = models.CharField(
 
        verbose_name="Food allergies, intolerances, or dietary restrictions",
 
        help_text="For example: vegetarian, vegan, gluten intolerant, low carb, allergic to _____, …",
 
        max_length=256,
 
        blank=True,
 
    )
0 comments (0 inline, 0 general)