Tweak speaker profile and proposal forms
This commit is contained in:
		
							parent
							
								
									c01dad66f7
								
							
						
					
					
						commit
						bfaa7d9115
					
				
					 4 changed files with 12 additions and 13 deletions
				
			
		|  | @ -8,15 +8,15 @@ from pinaxcon.proposals import models | |||
| 
 | ||||
| DEFAULT_FIELDS =  [ | ||||
|     "title", | ||||
|     "primary_topic", | ||||
|     # "primary_topic", | ||||
|     "target_audience", | ||||
|     "experience_level", | ||||
|     "abstract", | ||||
|     "private_abstract", | ||||
|     "content_warning", | ||||
|     "technical_requirements", | ||||
|     "project", | ||||
|     "project_url", | ||||
|     # "project", | ||||
|     # "project_url", | ||||
|     "video_url", | ||||
|     "require_approval", | ||||
|     "recording_release", | ||||
|  |  | |||
|  | @ -138,9 +138,8 @@ class MiniconfSessionProposal(Proposal): | |||
|     FORMAT_OTHER = 5 | ||||
| 
 | ||||
|     TALK_FORMATS = [ | ||||
|         (FORMAT_SHORT_PRESENTATION, "Lightning Talk (5-10 min)"), | ||||
|         (FORMAT_MEDIUM_PRESENTATION, "Short Presentation (20-25 min)"), | ||||
|         (FORMAT_LONG_PRESENTATION, "Presentation (40-45 min)"), | ||||
|         (FORMAT_MEDIUM_PRESENTATION, "Short Presentation (15 or 20 min)"), | ||||
|         (FORMAT_LONG_PRESENTATION, "Long Presentation (45 min)"), | ||||
|     ] | ||||
| 
 | ||||
|     talk_format = models.IntegerField( | ||||
|  |  | |||
							
								
								
									
										10
									
								
								vendor/symposion/speakers/forms.py
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										10
									
								
								vendor/symposion/speakers/forms.py
									
										
									
									
										vendored
									
									
								
							|  | @ -16,14 +16,14 @@ class SpeakerForm(forms.ModelForm): | |||
|             "experience", | ||||
|             "photo", | ||||
|             "telephone", | ||||
|             "local_timezone", | ||||
|             # "local_timezone", | ||||
|             "homepage", | ||||
|             "twitter_username", | ||||
|             "mastodon_username", | ||||
|             "accessibility", | ||||
|             "travel_assistance", | ||||
|             "accommodation_assistance", | ||||
|             "assistance", | ||||
|             # "travel_assistance", | ||||
|             # "accommodation_assistance", | ||||
|             # "assistance", | ||||
|             "agreement", | ||||
|         ] | ||||
| 
 | ||||
|  | @ -31,7 +31,7 @@ class SpeakerForm(forms.ModelForm): | |||
|         super(SpeakerForm, self).__init__(*a, **k) | ||||
|         self.fields['agreement'].required = True | ||||
|         self.fields['biography'].required = True | ||||
|         self.fields['local_timezone'].required = True | ||||
|         # self.fields['local_timezone'].required = True | ||||
| 
 | ||||
|     def clean_twitter_username(self): | ||||
|         value = self.cleaned_data["twitter_username"] | ||||
|  |  | |||
							
								
								
									
										4
									
								
								vendor/symposion/speakers/models.py
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								vendor/symposion/speakers/models.py
									
										
									
									
										vendored
									
									
								
							|  | @ -80,8 +80,8 @@ class Speaker(models.Model): | |||
|     accessibility = models.TextField( | ||||
|         blank=True, | ||||
|         help_text=_("Let us know how we can help you during the conference, for example " | ||||
|                     "your accessibility requirements, whether you require access to child " | ||||
|                     "minding facilities, or anything else you think we should know about."), | ||||
|                     "your accessibility requirements, if you require a Visa invitation letter, whether you require access to child " | ||||
|                     "minding facilities or anything else you think we should know about."), | ||||
|         verbose_name=_("Other requirements")) | ||||
|     accessibility_html = models.TextField(blank=True) | ||||
|     travel_assistance = models.BooleanField( | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue