Opened 18 years ago
Closed 17 years ago
#6588 closed (worksforme)
Admin interface doesn't allow to use dots in usernames
| Reported by: | anonymous | Owned by: | nobody |
|---|---|---|---|
| Component: | contrib.admin | Version: | newforms-admin |
| Severity: | Keywords: | nfa-someday | |
| Cc: | bronger@… | Triage Stage: | Design decision needed |
| Has patch: | yes | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
It's common practice to use usernames with dots (for example john.smith), but such usernames couldn't be entered in django admin interface.
Attachments (3)
Change History (13)
by , 18 years ago
| Attachment: | allow_dots_in_usernames.patch added |
|---|
comment:1 by , 18 years ago
| Triage Stage: | Unreviewed → Ready for checkin |
|---|
comment:2 by , 18 years ago
| Version: | SVN → newforms-admin |
|---|
comment:3 by , 18 years ago
| Triage Stage: | Ready for checkin → Design decision needed |
|---|
comment:4 by , 18 years ago
comment:5 by , 18 years ago
Minor edit needed in patch.
In django/contrib/auth/models.py, shouldn't the last sentence of line 131 actually read "Alphanumeric characters only (letters, digits, periods and underscores)." rather than "Alphanumeric characters only (letters, digits and underscores)."?
comment:6 by , 17 years ago
| Keywords: | nfa-someday added |
|---|
This restriction exists in current admin as well, should not block nfa merge.
comment:7 by , 17 years ago
| Cc: | added |
|---|
comment:8 by , 17 years ago
| Patch needs improvement: | set |
|---|
The new regex in the patch needs a trailing $.
by , 17 years ago
| Attachment: | allow_dots_in_usernames-1.patch.txt added |
|---|
by , 17 years ago
| Attachment: | allow_dots_in_usernames-1.patch added |
|---|
comment:9 by , 17 years ago
| Patch needs improvement: | unset |
|---|
I appended the "$" to the regexp, and fixed to minor errors in the docstrings of the patch.
I would really need this feature for copying about 1200 LDAP Users...
Technically this seems to be no problem :)