Project

General

Profile

« Previous | Next » 

Revision 45b2b19f

Added by Serghei Mihai almost 8 years ago

compat: django1.8 modelForm

View differences:

corbo/forms.py
18 18
            'expiration_time': forms.TextInput(attrs={'class': 'datepicker',
19 19
                                                      'size': 8})
20 20
        }
21
        fields = '__all__'
21 22

  
22 23
    def __init__(self, *args, **kwargs):
23 24
        super(AnnounceForm, self).__init__(*args, **kwargs)

Also available in: Unified diff