Sunday, November 18, 2012

Re: Reason for not allowing spaces in usernames?

(imo) Allowing spaces in username just isn't a very sane approach.

Rather than telling the user to choose a username, why not make them login with their email address instead? Users are less likely to forget their email address, and if anything, it would be less error prone than a username would, especially one with spaces.

By all means, you can allow users to have spaces in their alias / nickname field, but allowing them to login with it might not be the best approach.

Hope this helps!

Cal

On Sat, Nov 17, 2012 at 8:14 AM, Paul von Hoesslin <paulvonhoesslin@gmail.com> wrote:
I'm puzzled with this too. Did anyone manage to find a solution to resolving spaces in usernames.

Generally a user, these days logs in with their email - that's predominately how I've setup all my django projects. People don't remember usernames. It is legacy, facebook connects with emails, so does gmail and the rest of the world. Username really has fallen back to a NickName / Alternative / Alias kind of field. You'd use it if you knew that in your application people wouldn't want their real, full names to be displayed.


On Friday, June 12, 2009 4:08:12 PM UTC+2, Wiiboy wrote:


On Jun 12, 6:55 am, Marco Louro <mlo...@gmail.com> wrote:
> As long as you trim start and trailing spaces, there shouldn't be any
> problem, but personally I wouldn't use spaces in usernames at all.

 Why not?

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/UGdOmEepavIJ.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate