Project

General

Profile

« Previous | Next » 

Revision 2d69e777

Added by Serghei Mihai over 9 years ago

SMS length set to 160 chars

Closes #6369

View differences:

corbo/forms.py
25 25

  
26 26
    def clean_transport_channel(self):
27 27
        channels = self.cleaned_data['transport_channel']
28
        limit = 130
28
        limit = 160
29 29
        if 'sms' in channels and \
30 30
           len(self.cleaned_data['text']) > limit:
31 31
            raise forms.ValidationError(_('Announce content exceeds %s chars'

Also available in: Unified diff