#9541: Allow wider choice of usernames --------------------------------------------------------------+------------- Reporter: Richard Davies <[EMAIL PROTECTED]> | Owner: nobody Status: new | Milestone: Component: Authentication | Version: Keywords: | Stage: Unreviewed Has_patch: 1 | --------------------------------------------------------------+------------- django.contrib.auth restricts usernames to 30 characters or fewer, matching \w
Whilst it's good to disallow extreme values, this constraint can be significantly relaxed to allow longer usernames and some more characters (e.g. - . / \ ) My specific need is to allow UUIDs as usernames, so I attach a patch with extends to 36 characters and allows hyphens. I would encourage the maintainers to generalize this further before check in, to an even longer length and wider range of characters. -- Ticket URL: <http://code.djangoproject.com/ticket/9541> Django <http://code.djangoproject.com/> The Web framework for perfectionists with deadlines. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to django-updates@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-updates?hl=en -~----------~----~----~----~------~----~------~--~---