Project

General

Profile

« Previous | Next » 

Revision 3c5df84d

Added by Jérôme Schneider about 10 years ago

cleanning code: fix some pylints warning like useless imports

View differences:

calebasse/models.py
15 15
class PhoneNumberField(models.CharField):
16 16
    def __init__(self, *args, **kwargs):
17 17
        kwargs['max_length'] = 20
18
        super(PhoneNumberField, self).__init__(*args,**kwargs)
18
        super(PhoneNumberField, self).__init__(*args, **kwargs)
19 19

  
20 20
    def formfield(self, **kwargs):
21 21
        default = { 'form_class': FRPhoneNumberField }

Also available in: Unified diff