diff options
author | Alexander Sulfrian <alexander@sulfrian.net> | 2011-11-03 11:47:54 +0100 |
---|---|---|
committer | Alexander Sulfrian <alexander@sulfrian.net> | 2011-11-03 11:47:54 +0100 |
commit | a9bc1a5cb2e3bdf8301dbe81bbcd99b09d57b409 (patch) | |
tree | 50988441b2814bb650e99a162d6e16c78b3d6d89 | |
parent | d3a3948c97a4254c31ba126172db0ab0ad47e3d4 (diff) | |
download | sites-a9bc1a5cb2e3bdf8301dbe81bbcd99b09d57b409.tar.gz sites-a9bc1a5cb2e3bdf8301dbe81bbcd99b09d57b409.tar.bz2 sites-a9bc1a5cb2e3bdf8301dbe81bbcd99b09d57b409.zip |
added _ to valid chars like the error message suggests
-rwxr-xr-x | index.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -22,7 +22,7 @@ app = web.application(urls, globals(), autoreload=False) create_form = form.Form( form.Textbox('name', form.notnull, - form.regexp(r'^[a-zA-Z0-9+.-]{2,}$', 'This name should least be two characters long ' + + form.regexp(r'^[a-zA-Z0-9+.-_]{2,}$', 'This name should least be two characters long ' + 'and may only consist of letters, digits, plus (+), minus (-), and underlines (_).'), form.Validator('This name ends with a reserved suffix. Please choose another name.', util.validate_listname), |