Opened 17 years ago

Closed 16 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)

allow_dots_in_usernames.patch (2.8 KB ) - added by anonymous 17 years ago.
allow_dots_in_usernames-1.patch.txt (2.8 KB ) - added by Torsten Bronger 16 years ago.
allow_dots_in_usernames-1.patch (2.8 KB ) - added by Torsten Bronger 16 years ago.

Download all attachments as: .zip

Change History (13)

by anonymous, 17 years ago

comment:1 by Simon Greenhill <dev@…>, 17 years ago

Triage Stage: UnreviewedReady for checkin

comment:2 by Simon Greenhill <dev@…>, 17 years ago

Version: SVNnewforms-admin

comment:3 by Jacob, 17 years ago

Triage Stage: Ready for checkinDesign decision needed

comment:4 by alexander.hungenberg@…, 17 years ago

I would really need this feature for copying about 1200 LDAP Users...
Technically this seems to be no problem :)

comment:5 by anonymous, 17 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 Karen Tracey <kmtracey@…>, 17 years ago

Keywords: nfa-someday added

This restriction exists in current admin as well, should not block nfa merge.

comment:7 by Torsten Bronger <bronger@…>, 16 years ago

Cc: bronger@… added

comment:8 by Torsten Bronger, 16 years ago

Patch needs improvement: set

The new regex in the patch needs a trailing $.

by Torsten Bronger, 16 years ago

by Torsten Bronger, 16 years ago

comment:9 by Torsten Bronger, 16 years ago

Patch needs improvement: unset

I appended the "$" to the regexp, and fixed to minor errors in the docstrings of the patch.

comment:10 by dc, 16 years ago

Resolution: worksforme
Status: newclosed

Duplicate of #5786

Note: See TracTickets for help on using tickets.
Back to Top