|
@@ -3,7 +3,7 @@ from design_template.apps import colors
|
|
|
|
|
|
class LogoForm(forms.Form):
|
|
class LogoForm(forms.Form):
|
|
namesystem = forms.CharField(max_length=30, label="Название системы", required=False)
|
|
namesystem = forms.CharField(max_length=30, label="Название системы", required=False)
|
|
- logo = forms.FileField(label="Логотип")
|
|
|
|
|
|
+ logo = forms.FileField(label="Логотип", required=False)
|
|
logo.widget.attrs.update({'accept':'.png, .svg, .ico'})
|
|
logo.widget.attrs.update({'accept':'.png, .svg, .ico'})
|
|
|
|
|
|
class ColorsForm(forms.Form):
|
|
class ColorsForm(forms.Form):
|