Remove the ticket acknowledgement field
This commit is contained in:
		
							parent
							
								
									20d7b43efc
								
							
						
					
					
						commit
						6af1e594ad
					
				
					 1 changed files with 1 additions and 5 deletions
				
			
		|  | @ -26,7 +26,6 @@ DEFAULT_FIELDS =  [ | ||||||
| 
 | 
 | ||||||
| TALK_FORMAT_FIELDS = copy.copy(DEFAULT_FIELDS) | TALK_FORMAT_FIELDS = copy.copy(DEFAULT_FIELDS) | ||||||
| TALK_FORMAT_FIELDS.insert(2, "talk_format") | TALK_FORMAT_FIELDS.insert(2, "talk_format") | ||||||
| TALK_FORMAT_FIELDS.append("ticket_acknowledgement") |  | ||||||
| 
 | 
 | ||||||
| class ProposalForm(forms.ModelForm): | class ProposalForm(forms.ModelForm): | ||||||
| 
 | 
 | ||||||
|  | @ -59,10 +58,7 @@ class TutorialProposalForm(ProposalForm): | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| class MiniconfProposalForm(ProposalForm): | class MiniconfProposalForm(ProposalForm): | ||||||
| 
 |     pass | ||||||
|     def __init__(self, *a, **k): |  | ||||||
|         super(MiniconfProposalForm, self).__init__(*a, **k) |  | ||||||
|         self.fields['ticket_acknowledgement'].required = True |  | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| class CopyleftComplianceProposalForm(MiniconfProposalForm): | class CopyleftComplianceProposalForm(MiniconfProposalForm): | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue