Changeset - a1d57ad1db6e
[Not reviewed]
0 1 1
Tobias - 6 years ago 2018-09-29 05:14:21
tobias@localhost.localdomain
Add children to profile (fixes #136)
2 files changed with 31 insertions and 0 deletions:
0 comments (0 inline, 0 general)
pinaxcon/registrasion/migrations/0009_attendeeprofile_children.py
Show inline comments
 
new file 100644
 
# -*- 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),
 
        ),
 
    ]
pinaxcon/registrasion/models.py
Show inline comments
...
 
@@ -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 "
0 comments (0 inline, 0 general)