Changeset d9b20e6 in firmaeventos for eventos/forms.py


Ignore:
Timestamp:
Nov 27, 2017, 4:24:33 PM (7 years ago)
Author:
lhernandez <lhernandez@…>
Branches:
master
Children:
52a0eb9
Parents:
bc3aa92 (diff), 974a9c3 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Implementado la carga de archivo para el evento que no contiene documentos

File:
1 edited

Legend:

Unmodified
Added
Removed
  • eventos/forms.py

    rbc3aa92 rd9b20e6  
    3939             'readonly':
    4040             'readonly'})
    41         self.fields['archivo'].required = True
     41        self.fields['archivo'].required = False
    4242        self.fields['archivo'].widget.attrs.update(
    4343            {'class': 'file-path validate',
     
    4545             'accept': '.pdf'})
    4646        self.fields['pos_x'].widget = forms.HiddenInput()
     47        self.fields['pos_x'].required=False
    4748        self.fields['pos_y'].widget = forms.HiddenInput()
     49        self.fields['pos_y'].required=False
    4850        self.fields['pag'].widget = forms.HiddenInput()
     51        self.fields['pag'].required=False
     52
    4953
    5054class FirmaEventoForm(forms.Form):
Note: See TracChangeset for help on using the changeset viewer.