Ask Your Question

User name cannot contain a "." (period) or ' (apostrophe)

asked 2011-06-14 17:30:47 -0600

Tomasz P. Szynalski's avatar

updated 2011-06-15 03:41:38 -0600

Evgeny's avatar

I have a small bug report:

I wanted to sign up as "Tomasz P. Szynalski". Unfortunately AskBot does not allow periods in the screen name.

Another character that doesn't work is the apostrophe (both the curly and straight kind): ’ '. What if someone's name is d’Artagnan?

(I wonder what happens when you import a user with a period from StackExchange?)

edit retag flag offensive close merge delete


The apostrophe doesn't work, either.
Tomasz P. Szynalski's avatar Tomasz P. Szynalski  ( 2011-06-14 18:30:00 -0600 )edit

1 Answer

Sort by » oldest newest most voted

answered 2011-06-14 17:34:55 -0600

Evgeny's avatar

updated 2011-06-15 03:10:38 -0600

edit added those characters to the user name regex, still need to add a setting that permits only "standard" characters, as some users want to stick to stricter django conventions.

For example in Django you cannot have space in the user name. Apostrophe I think is not allowed either.

according to the django doc:

"Changed in Django 1.2: Usernames may now contain @, +, . and - characters.",

so these are added, will update code on this site tomorrow.

edit flag offensive delete link more


You don't need the dump to repro the bug. Just try to change your screen name on to something that contains a period.
Tomasz P. Szynalski's avatar Tomasz P. Szynalski  ( 2011-06-14 17:43:31 -0600 )edit
I know, the bug is very easy to fix, although I will be busy with something else in the nearest few hours. Give it a shot, import your forum, if you have any problems, I will help., you'll need to activate the importer app once in the
Evgeny's avatar Evgeny  ( 2011-06-14 17:58:41 -0600 )edit
I appreciate your offer, but I want to think about it a little more before I embark on the adventure of installing Python, Django, and probably a bunch of other software on my server :)
Tomasz P. Szynalski's avatar Tomasz P. Szynalski  ( 2011-06-14 18:35:07 -0600 )edit
well, three weeks is not that much time, you might as well start preparing.
Evgeny's avatar Evgeny  ( 2011-06-14 19:52:49 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2011-06-14 17:30:47 -0600

Seen: 363 times

Last updated: Jun 15 '11