registrasion.models: Add help_text to dietary_restrictions.

This commit is contained in:
Brett Smith 2019-01-02 16:16:55 -05:00
parent 8d95a608dd
commit 0015814518
2 changed files with 21 additions and 0 deletions

View 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'),
),
]

View file

@ -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,
)