asked 2011-05-25 03:57:37 -0500Samuel
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.
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 site
Asked: 2011-05-25 03:57:37 -0500
Seen: 188 times
Last updated: May 25 '11