Changes between Initial Version and Version 1 of Ticket #27263


Ignore:
Timestamp:
Sep 23, 2016, 2:39:04 AM (8 years ago)
Author:
Alexey Rogachev
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #27263 – Description

    initial v1  
    55{{{#!python
    66class ChartForm(forms.ModelForm):
    7 import_file = forms.FileField(required=False, label='File for import', validators = [
    8     FileSizeValidator(max_size='500 kb'),
    9     FileTypeValidator(extensions=('xlsx',))
    10 ])
     7    import_file = forms.FileField(required=False, label='File for import', validators = [
     8        FileSizeValidator(max_size='500 kb'),
     9        FileTypeValidator(extensions=('xlsx',))
     10    ])
    1111}}}
    1212
Back to Top