# HG changeset patch # User Steve Losh # Date 1253147947 14400 # Node ID 7c5e0b115e6dbf72ad6694aceafbb54c38baa238 # Parent 1e16f95972072bfebb68894861e6910029d01687 Okay, okay, names can be two letters. diff -r 1e16f9597207 -r 7c5e0b115e6d blog/views.py --- a/blog/views.py Mon Aug 31 21:31:41 2009 -0400 +++ b/blog/views.py Wed Sep 16 20:39:07 2009 -0400 @@ -38,7 +38,7 @@ if ( fields.has_key('name') and not fields['name'].strip() == '' and - not len(fields['name']) < 3 and + not len(fields['name']) < 2 and fields.has_key('body') and not fields['body'].strip() == '' and not len(fields['body']) < 3 and diff -r 1e16f9597207 -r 7c5e0b115e6d projects/views.py --- a/projects/views.py Mon Aug 31 21:31:41 2009 -0400 +++ b/projects/views.py Wed Sep 16 20:39:07 2009 -0400 @@ -28,7 +28,7 @@ if ( fields.has_key('name') and not fields['name'].strip() == '' and - not len(fields['name']) < 3 and + not len(fields['name']) < 2 and fields.has_key('body') and not fields['body'].strip() == '' and not len(fields['body']) < 3 and diff -r 1e16f9597207 -r 7c5e0b115e6d site-media/scripts/validate-comment-form.js --- a/site-media/scripts/validate-comment-form.js Mon Aug 31 21:31:41 2009 -0400 +++ b/site-media/scripts/validate-comment-form.js Wed Sep 16 20:39:07 2009 -0400 @@ -4,7 +4,7 @@ rules: { name: { required: true, - minlength: 3, + minlength: 2, maxlength: 40 }, body: {