registrasion.models: Update for CopyleftConf 2019.
This commit is contained in:
		
							parent
							
								
									4c7f0edd60
								
							
						
					
					
						commit
						8d95a608dd
					
				
					 2 changed files with 35 additions and 20 deletions
				
			
		
							
								
								
									
										32
									
								
								pinaxcon/registrasion/migrations/0006_auto_20190102_1140.py
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										32
									
								
								pinaxcon/registrasion/migrations/0006_auto_20190102_1140.py
									
										
									
									
									
										Normal file
									
								
							|  | @ -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 <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'), | ||||
|         ), | ||||
|     ] | ||||
|  | @ -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 <a href='/code-of-conduct'> " | ||||
|                   "North Bay Python Code of Conduct</a>. I also agree with the " | ||||
|                   "North Bay Python <a href='/terms'>Terms and Conditions</a>.", | ||||
|         help_text="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>.", | ||||
|         blank=False, | ||||
|         default=False, | ||||
|     ) | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Brett Smith
						Brett Smith