0 1 1
Brett Smith - 13 months ago 2019-09-30 15:50:20
brettcsmith@brettcsmith.org
registrasion.models: Update for CopyleftConf 2019.
2 files changed with 35 insertions and 20 deletions:
↑ Collapse Diff ↑
 
new file 100644
1
 
# -*- coding: utf-8 -*-
2
 
# Generated by Django 1.10.7 on 2019-01-02 16:40
3
 
from __future__ import unicode_literals
4
 

	
5
 
from django.db import migrations, models
6
 

	
7
 

	
8
 
class Migration(migrations.Migration):
9
 

	
10
 
    dependencies = [
11
 
        ('pinaxcon_registrasion', '0005_auto_20181005_1630'),
12
 
    ]
13
 

	
14
 
    operations = [
15
 
        migrations.RemoveField(
16
 
            model_name='attendeeprofile',
17
 
            name='accessibility_requirements',
18
 
        ),
19
 
        migrations.RemoveField(
20
 
            model_name='attendeeprofile',
21
 
            name='gender',
22
 
        ),
23
 
        migrations.RemoveField(
24
 
            model_name='attendeeprofile',
25
 
            name='newsletter',
26
 
        ),
27
 
        migrations.AlterField(
28
 
            model_name='attendeeprofile',
29
 
            name='agreement',
30
 
            field=models.BooleanField(default=False, help_text=b"I agree to act according to the <a href='/code-of-conduct'>Code of Conduct</a>. I also agree with the CopyleftConf <a href='/terms'>Terms and Conditions</a>.", verbose_name=b'Agreement'),
31
 
        ),
32
 
    ]
...
 
@@ -126,29 +126,12 @@ class AttendeeProfile(rego.AttendeeProfileBase):
126 126
 
        max_length=256,
127 127
 
        blank=True,
128 128
 
    )
129
 
    accessibility_requirements = models.CharField(
130
 
        verbose_name="Accessibility-related requirements",
131
 
        max_length=256,
132
 
        blank=True,
133
 
    )
134
 
    gender = models.CharField(
135
 
        help_text="Gender data will only be used for demographic purposes.",
136
 
        max_length=64,
137
 
        blank=True,
138
 
    )
139
 

	
140
 
    newsletter = models.BooleanField(
141
 
        verbose_name="Subscribe to North Bay Python newsletter",
142
 
        help_text="Select to be subscribed to the low-volume North Bay Python "
143
 
                  "announcements newsletter",
144
 
        blank=True,
145
 
    )
146 129
 

	
147 130
 
    agreement = models.BooleanField(
148 131
 
        verbose_name="Agreement",
149
 
        help_text="I agree to act according to the <a href='/code-of-conduct'> "
150
 
                  "North Bay Python Code of Conduct</a>. I also agree with the "
151
 
                  "North Bay Python <a href='/terms'>Terms and Conditions</a>.",
132
 
        help_text="I agree to act according to the <a href='/code-of-conduct'>"
133
 
                  "Code of Conduct</a>. I also agree with the "
134
 
                  "CopyleftConf <a href='/terms'>Terms and Conditions</a>.",
152 135
 
        blank=False,
153 136
 
        default=False,
154 137
 
    )
0 comments (0 inline, 0 general)