1.Simply extend the User model by using UserProfile Technique More details : http://www.b-list.org/weblog/2006/jun/06/django-tips-extending-user-model/
2.You can also customize your authentication needs More details : http://groups.google.com/group/django-users/browse_thread/thread/c943ede66e6807c/2fbf2afeade397eb?q=#2fbf2afeade397eb --rama On Jul 16, 12:50 am, "Andrew D. Ball" <ab...@americanri.com> wrote: > Good afternoon. > > Here's the username field from the latest Django trunk's > django.contrib.auth.models module: > > username = models.CharField(_('username'), max_length=30, unique=True, > help_text=_("Required. 30 characters or fewer. Alphanumeric characters > only (letters, digits and underscores).")) > > Why is the format of the username so restrictive? The company I work for > has clients with usernames that contain spaces, email addresses, possibly even > non-ASCII characters. I would love to use the standard User model, but I > can't > dictacte the format of the usernames of our clients' own systems. > > Is there any way to work around this? We have already implemented our own > user model, but I would like to use the standard Django one to make > integration > with apps like Satchmo more feasible. > > Peace, > Andrew > -- > =================================== > Andrew D. Ball > ab...@americanri.com > Software Engineer > American Research Institute, Inc.http://www.americanri.com/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---