SMS length set to 160 chars

Closes #6369
This commit is contained in:
Serghei Mihai 2015-01-28 23:20:36 +01:00
parent e4bd2abee2
commit 2d69e777a7
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ class AnnounceForm(forms.ModelForm):
def clean_transport_channel(self):
channels = self.cleaned_data['transport_channel']
limit = 130
limit = 160
if 'sms' in channels and \
len(self.cleaned_data['text']) > limit:
raise forms.ValidationError(_('Announce content exceeds %s chars'