Add children to profile (fixes #136)

This commit is contained in:
Tobias 2018-09-29 17:11:38 +12:00
parent 8954be06c5
commit a1d57ad1db
2 changed files with 31 additions and 0 deletions

View file

@ -0,0 +1,20 @@
# -*- coding: utf-8 -*-
# Generated by Django 1.11.15 on 2018-09-29 05:09
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('pinaxcon_registrasion', '0008_remove_attendeeprofile_agreement'),
]
operations = [
migrations.AddField(
model_name='attendeeprofile',
name='children',
field=models.CharField(blank=True, help_text="Linux.conf.au 2019 is a family friendly conference and provides free child-care for pre-school children from 6 months up to 5 years. We hope to also provide a programme for older children and will let you know closer to the conference. If you're wanting to bring your children to LCA2019, please let us know their age(s) so we can ensure we have enough spaces available.", max_length=256),
),
]

View file

@ -164,6 +164,17 @@ class AttendeeProfile(rego.AttendeeProfileBase):
blank=True,
)
children = models.CharField(
max_length=256,
help_text="Linux.conf.au 2019 is a family friendly conference and provides "
"free child-care for pre-school children from 6 months up to 5 years. We "
"hope to also provide a programme for older children and will let you "
"know closer to the conference. If you're wanting to bring your children "
"to LCA2019, please let us know their age(s) so we can ensure we have "
"enough spaces available.",
blank=True
)
linux_australia = models.BooleanField(
verbose_name="Linux Australia membership",
help_text="Select this field to register for free "