0 1 1
Brett Smith - 13 months ago 2019-09-30 15:50:39
brettcsmith@brettcsmith.org
registrasion.models: Add help_text to dietary_restrictions.
2 files changed with 21 insertions and 0 deletions:
↑ Collapse Diff ↑
 
new file 100644
1
 
# -*- coding: utf-8 -*-
2
 
# Generated by Django 1.10.7 on 2019-01-02 21:17
3
 
from __future__ import unicode_literals
4
 

	
5
 
from django.db import migrations, models
6
 

	
7
 

	
8
 
class Migration(migrations.Migration):
9
 

	
10
 
    dependencies = [
11
 
        ('pinaxcon_registrasion', '0006_auto_20190102_1140'),
12
 
    ]
13
 

	
14
 
    operations = [
15
 
        migrations.AlterField(
16
 
            model_name='attendeeprofile',
17
 
            name='dietary_restrictions',
18
 
            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'),
19
 
        ),
20
 
    ]
...
 
@@ -123,6 +123,7 @@ class AttendeeProfile(rego.AttendeeProfileBase):
123 123
 

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