From 0015814518e3ff1c760f9ab5af92ba099a87c5da 2019-09-30 15:50:39 From: Brett Smith Date: 2019-09-30 15:50:39 Subject: [PATCH] registrasion.models: Add help_text to dietary_restrictions. --- diff --git a/pinaxcon/registrasion/migrations/0007_auto_20190102_1617.py b/pinaxcon/registrasion/migrations/0007_auto_20190102_1617.py new file mode 100644 index 0000000000000000000000000000000000000000..35312ceb7c537093006305857ccd4afdb09bebb3 --- /dev/null +++ b/pinaxcon/registrasion/migrations/0007_auto_20190102_1617.py @@ -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'), + ), + ] diff --git a/pinaxcon/registrasion/models.py b/pinaxcon/registrasion/models.py index b23a26765a4dd45022be236c93c068a9d4be9cca..795803ebf9f4fffa05def17c473399a43689a278 100644 --- a/pinaxcon/registrasion/models.py +++ b/pinaxcon/registrasion/models.py @@ -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, )