Merge branch 'miniconf-release' into 'master'
Add release materials check boxes to miniconf proposal See merge request !11
This commit is contained in:
		
						commit
						7710f334bd
					
				
					 3 changed files with 36 additions and 1 deletions
				
			
		|  | @ -61,4 +61,6 @@ class MiniconfProposalForm(ProposalForm): | ||||||
|             "abstract", |             "abstract", | ||||||
|             "private_abstract", |             "private_abstract", | ||||||
|             "technical_requirements", |             "technical_requirements", | ||||||
|  |             "recording_release", | ||||||
|  |             "materials_release", | ||||||
|         ] |         ] | ||||||
|  |  | ||||||
							
								
								
									
										30
									
								
								pinaxcon/proposals/migrations/0003_auto_20170702_2227.py
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										30
									
								
								pinaxcon/proposals/migrations/0003_auto_20170702_2227.py
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,30 @@ | ||||||
|  | # -*- coding: utf-8 -*- | ||||||
|  | # Generated by Django 1.11.3 on 2017-07-02 12:27 | ||||||
|  | from __future__ import unicode_literals | ||||||
|  | 
 | ||||||
|  | from django.db import migrations, models | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | class Migration(migrations.Migration): | ||||||
|  | 
 | ||||||
|  |     dependencies = [ | ||||||
|  |         ('proposals', '0002_auto_20170702_1140'), | ||||||
|  |     ] | ||||||
|  | 
 | ||||||
|  |     operations = [ | ||||||
|  |         migrations.AddField( | ||||||
|  |             model_name='miniconfproposal', | ||||||
|  |             name='materials_release', | ||||||
|  |             field=models.BooleanField(default=True, help_text="I allow Linux Australia to release any other material (such as slides) from presentations covered by this proposal, under the <a href='https://creativecommons.org/licenses/by-sa/3.0/au/deed.en'> Creative Commons Attribution-Share Alike Australia 3.0 Licence</a>"), | ||||||
|  |         ), | ||||||
|  |         migrations.AddField( | ||||||
|  |             model_name='miniconfproposal', | ||||||
|  |             name='recording_release', | ||||||
|  |             field=models.BooleanField(default=True, help_text="I allow Linux Australia to release any recordings of presentations covered by this proposal, under the <a href='https://creativecommons.org/licenses/by-sa/3.0/au/deed.en'> Creative Commons Attribution-Share Alike Australia 3.0 Licence</a>"), | ||||||
|  |         ), | ||||||
|  |         migrations.AddField( | ||||||
|  |             model_name='miniconfproposal', | ||||||
|  |             name='target_audience', | ||||||
|  |             field=models.IntegerField(choices=[(1, 'User'), (2, 'Business'), (3, 'Community'), (4, 'Developer')], default=4), | ||||||
|  |         ), | ||||||
|  |     ] | ||||||
|  | @ -52,7 +52,10 @@ class TutorialProposal(Proposal): | ||||||
|         verbose_name = "tutorial proposal" |         verbose_name = "tutorial proposal" | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| class MiniconfProposal(ProposalBase): | class MiniconfProposal(Proposal): | ||||||
|  | 
 | ||||||
|  |     target_audience = models.IntegerField(choices=Proposal.TARGET_AUIDENCES, | ||||||
|  |                                           default=Proposal.TARGET_DEVELOPER) | ||||||
| 
 | 
 | ||||||
|     class Meta: |     class Meta: | ||||||
|         verbose_name = "miniconf proposal" |         verbose_name = "miniconf proposal" | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 James Polley
						James Polley