First time here? Check out the FAQ!
1

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

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?)

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
Evgeny's avatar
13.2k
Evgeny
updated 13 years ago
Tomasz P. Szynalski's avatar
179
Tomasz P. Szynalski
asked 13 years ago

Comments

The apostrophe doesn't work, either.
Tomasz P. Szynalski's avatar Tomasz P. Szynalski (13 years ago)
see more comments

1 Answer

0

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.

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
Evgeny's avatar
13.2k
Evgeny
updated 13 years ago, answered 13 years ago
link

Comments

You don't need the dump to repro the bug. Just try to change your screen name on Askbot.org to something that contains a period.
Tomasz P. Szynalski's avatar Tomasz P. Szynalski (13 years ago)
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. http://askbot.org/doc/import-data.html, you'll need to activate the importer app once in the settings.py
Evgeny's avatar Evgeny (13 years ago)
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 (13 years ago)
well, three weeks is not that much time, you might as well start preparing.
Evgeny's avatar Evgeny (13 years ago)
see more comments