When a user creates his local account, he can fill his screen name with spaces. In the administration page, the username must contain only letters, numbers and underscores. So the admisitrator has to modify the username to submit another modification to his profile.
Yes, just tested this. It is impossible to edit profile from django admin panel when user's user name has space.
Django's auth app does not allow spaces in the user name (it is a required field, equivalent to login name).
I think the solution is to forbid space in the username field and stick to the format for the user name that django expects.
The display name may be combined from first and last names, and first and last names would be accessible to edit from the user profile page.
There will be a side effect with this change - all users whose names do not agree with the django's convention will be automatically renamed, and they should also be informed of the change.
A management command will be required to auto-rename users and send them notifications of the change.
Create your Q&A site at askbot.com. Managed Askbot hosting at just $15/mo. Dedicated hosting, support contracts, consulting services.
create your Q&A siteAsked: 2011-05-25 03:57:37 -0500
Seen: 188 times
Last updated: May 25 '11
Cannot delete a user in the django admin UI : table follow_follow does not exist
CSRF token missing or incorrect
Karma thresholds always reset to default when edited
HTML escaped incorrectly on Data entry and display rules admin page
"502 Bad Gateway" when editing badge awards in admin
email for comments: link missing a href [fixed]
Copyright Askbot, 2010-2011. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.