diff options
author | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2011-06-15 04:06:19 -0400 |
---|---|---|
committer | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2011-06-15 04:06:19 -0400 |
commit | 139f8ed96156aa755a83c7a38ba4f28a51611657 (patch) | |
tree | f70c934fc58debb5f94ba79fc8a832e45b3ced01 | |
parent | 6cb91750ff7eb7fc2e9234a1d027e0ebe047f3e0 (diff) | |
download | askbot-139f8ed96156aa755a83c7a38ba4f28a51611657.tar.gz askbot-139f8ed96156aa755a83c7a38ba4f28a51611657.tar.bz2 askbot-139f8ed96156aa755a83c7a38ba4f28a51611657.zip |
allowed more characters in the user name
-rw-r--r-- | askbot/const/__init__.py | 2 |
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 ;:,.!?<>"\'' |