You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
slide_name=forms.CharField(label='Name of Presentation',max_length=255,required=False,help_text="For presentations only")
105
106
file=forms.FileField(label='Select File',help_text='<div id="id_file_help">Note 1: You can only upload a presentation file in txt, pdf, doc, or ppt/pptx. System will not accept presentation files in any other format.<br><br>Note 2: All uploaded files will be available to the public immediately on the Preliminary Page. However, for the Proceedings, ppt/pptx files will be converted to html format and doc files will be converted to pdf format manually by the Secretariat staff.</div>')
106
107
@@ -128,7 +129,7 @@ def clean(self):
128
129
#if material_type == 1 and not file_ext[1] == '.pdf':
129
130
# raise forms.ValidationError('Presentations must be a PDF file')
130
131
131
-
# validate file extensions based on material type (presentation,agenda,minutes)
132
+
# validate file extensions based on material type (slides,agenda,minutes,bluesheets)
132
133
# valid extensions per online documentation: meeting-materials.html
133
134
# 09-14-11 added ppt, pdf per Alexa
134
135
# 04-19-12 txt/html for agenda, +pdf for minutes per Russ
@@ -138,7 +139,9 @@ def clean(self):
138
139
raiseforms.ValidationError('Only these file types supported for agendas: %s'%','.join(VALID_AGENDA_EXTENSIONS))
0 commit comments