summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEvgeny Fadeev <evgeny.fadeev@gmail.com>2011-06-15 04:06:19 -0400
committerEvgeny Fadeev <evgeny.fadeev@gmail.com>2011-06-15 04:06:19 -0400
commit139f8ed96156aa755a83c7a38ba4f28a51611657 (patch)
treef70c934fc58debb5f94ba79fc8a832e45b3ced01
parent6cb91750ff7eb7fc2e9234a1d027e0ebe047f3e0 (diff)
downloadaskbot-139f8ed96156aa755a83c7a38ba4f28a51611657.tar.gz
askbot-139f8ed96156aa755a83c7a38ba4f28a51611657.tar.bz2
askbot-139f8ed96156aa755a83c7a38ba4f28a51611657.zip
allowed more characters in the user name
-rw-r--r--askbot/const/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/askbot/const/__init__.py b/askbot/const/__init__.py
index 0006714d..8b6fc9bd 100644
--- a/askbot/const/__init__.py
+++ b/askbot/const/__init__.py
@@ -215,7 +215,7 @@ NOTIFICATION_DELIVERY_SCHEDULE_CHOICES= (
)
USERS_PAGE_SIZE = 28#todo: move it to settings?
-USERNAME_REGEX_STRING = r'^[\w \-]+$'
+USERNAME_REGEX_STRING = r'^[\w \-.@+\']+$'
#chars that can go before or after @mention
TWITTER_STYLE_MENTION_TERMINATION_CHARS = '\n ;:,.!?<>"\''