Add migration for profile change, update CONFERENCE_ID for 2024
This commit is contained in:
		
							parent
							
								
									53633bb1d0
								
							
						
					
					
						commit
						e58a1891d5
					
				
					 3 changed files with 27 additions and 1 deletions
				
			
		|  | @ -0,0 +1,18 @@ | ||||||
|  | # Generated by Django 2.2.28 on 2024-05-06 00:00 | ||||||
|  | 
 | ||||||
|  | from django.db import migrations, models | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | class Migration(migrations.Migration): | ||||||
|  | 
 | ||||||
|  |     dependencies = [ | ||||||
|  |         ('pinaxcon_registrasion', '0018_auto_20230501_2052'), | ||||||
|  |     ] | ||||||
|  | 
 | ||||||
|  |     operations = [ | ||||||
|  |         migrations.AddField( | ||||||
|  |             model_name='attendeeprofile', | ||||||
|  |             name='sfc_sustainer', | ||||||
|  |             field=models.BooleanField(blank=True, default=False, help_text='Financial support from <a href="https://sfconservancy.org/sustainer/" target="_blank">Sustainers</a> helps Conservancy\'s work in a strategic, long-term way.', verbose_name='Are you an SFC Sustainer?'), | ||||||
|  |         ), | ||||||
|  |     ] | ||||||
|  | @ -220,6 +220,14 @@ class AttendeeProfile(rego.AttendeeProfileBase): | ||||||
|         blank=True, |         blank=True, | ||||||
|     ) |     ) | ||||||
| 
 | 
 | ||||||
|  |     sfc_sustainer = models.BooleanField( | ||||||
|  |         verbose_name="Are you an SFC Sustainer?", | ||||||
|  |         help_text="Financial support from <a href=\"https://sfconservancy.org/sustainer/\" target=\"_blank\">Sustainers</a> " | ||||||
|  |                   "helps Conservancy's work in a strategic, long-term way.", | ||||||
|  |         blank=True, | ||||||
|  |         default=False, | ||||||
|  |     ) | ||||||
|  | 
 | ||||||
|     def first_name(self): |     def first_name(self): | ||||||
|         return wrap(self.name, 15, break_long_words=False)[0] |         return wrap(self.name, 15, break_long_words=False)[0] | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -369,7 +369,7 @@ AUTHENTICATION_BACKENDS = [ | ||||||
| LOGIN_URL = '/account/login/' | LOGIN_URL = '/account/login/' | ||||||
| SESSION_EXPIRE_AT_BROWSER_CLOSE = True | SESSION_EXPIRE_AT_BROWSER_CLOSE = True | ||||||
| 
 | 
 | ||||||
| CONFERENCE_ID = 2 | CONFERENCE_ID = 3 | ||||||
| PROPOSAL_FORMS = { | PROPOSAL_FORMS = { | ||||||
|     "aarch64-arm64": "pinaxcon.proposals.forms.AArch64ARM64ProposalForm", |     "aarch64-arm64": "pinaxcon.proposals.forms.AArch64ARM64ProposalForm", | ||||||
|     "bsd-unix": "pinaxcon.proposals.forms.BSDUnixProposalForm", |     "bsd-unix": "pinaxcon.proposals.forms.BSDUnixProposalForm", | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue