diff --git a/pinaxcon/registrasion/migrations/0006_auto_20190102_1140.py b/pinaxcon/registrasion/migrations/0006_auto_20190102_1140.py new file mode 100644 index 0000000000000000000000000000000000000000..dda18ba56350f02d4a08b74ad27d7c4cfe148f8b --- /dev/null +++ b/pinaxcon/registrasion/migrations/0006_auto_20190102_1140.py @@ -0,0 +1,32 @@ +# -*- coding: utf-8 -*- +# Generated by Django 1.10.7 on 2019-01-02 16:40 +from __future__ import unicode_literals + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('pinaxcon_registrasion', '0005_auto_20181005_1630'), + ] + + operations = [ + migrations.RemoveField( + model_name='attendeeprofile', + name='accessibility_requirements', + ), + migrations.RemoveField( + model_name='attendeeprofile', + name='gender', + ), + migrations.RemoveField( + model_name='attendeeprofile', + name='newsletter', + ), + migrations.AlterField( + model_name='attendeeprofile', + name='agreement', + field=models.BooleanField(default=False, help_text=b"I agree to act according to the Code of Conduct. I also agree with the CopyleftConf Terms and Conditions.", verbose_name=b'Agreement'), + ), + ] diff --git a/pinaxcon/registrasion/models.py b/pinaxcon/registrasion/models.py index b09a9810833e44c6dca1ed2c72b8787921f136d7..b23a26765a4dd45022be236c93c068a9d4be9cca 100644 --- a/pinaxcon/registrasion/models.py +++ b/pinaxcon/registrasion/models.py @@ -126,29 +126,12 @@ class AttendeeProfile(rego.AttendeeProfileBase): max_length=256, blank=True, ) - accessibility_requirements = models.CharField( - verbose_name="Accessibility-related requirements", - max_length=256, - blank=True, - ) - gender = models.CharField( - help_text="Gender data will only be used for demographic purposes.", - max_length=64, - blank=True, - ) - - newsletter = models.BooleanField( - verbose_name="Subscribe to North Bay Python newsletter", - help_text="Select to be subscribed to the low-volume North Bay Python " - "announcements newsletter", - blank=True, - ) agreement = models.BooleanField( verbose_name="Agreement", - help_text="I agree to act according to the " - "North Bay Python Code of Conduct. I also agree with the " - "North Bay Python Terms and Conditions.", + help_text="I agree to act according to the " + "Code of Conduct. I also agree with the " + "CopyleftConf Terms and Conditions.", blank=False, default=False, )