Changeset cbdbd1f for asadb/forms/views.py
- Timestamp:
- Jul 6, 2012, 2:49:11 AM (13 years ago)
- Branches:
- master, space-access, stable, stage
- Children:
- 984dca1
- Parents:
- 3496370
- git-author:
- Alex Dehnert <adehnert@…> (07/06/12 02:47:00)
- git-committer:
- Alex Dehnert <adehnert@…> (07/06/12 02:49:11)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
asadb/forms/views.py
r3496370 rcbdbd1f 156 156 return name 157 157 158 def clean_description(self, ): 159 description = self.cleaned_data['description'] 160 length = len(description) 161 if length > 400: 162 raise ValidationError("Descriptions are capped at 400 characters, and this one is %d characters." % (length, )) 163 return description 164 158 165 @login_required 159 166 def fysm_manage(request, group, ):
Note: See TracChangeset
for help on using the changeset viewer.