registrasion.models: Add help_text to dietary_restrictions.
This commit is contained in:
parent
8d95a608dd
commit
0015814518
2 changed files with 21 additions and 0 deletions
20
pinaxcon/registrasion/migrations/0007_auto_20190102_1617.py
Normal file
20
pinaxcon/registrasion/migrations/0007_auto_20190102_1617.py
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
# -*- 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'),
|
||||||
|
),
|
||||||
|
]
|
|
@ -123,6 +123,7 @@ class AttendeeProfile(rego.AttendeeProfileBase):
|
||||||
|
|
||||||
dietary_restrictions = models.CharField(
|
dietary_restrictions = models.CharField(
|
||||||
verbose_name="Food allergies, intolerances, or dietary restrictions",
|
verbose_name="Food allergies, intolerances, or dietary restrictions",
|
||||||
|
help_text="For example: vegetarian, vegan, gluten intolerant, low carb, allergic to _____, …",
|
||||||
max_length=256,
|
max_length=256,
|
||||||
blank=True,
|
blank=True,
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue