On Tuesday, March 20, 2012 at 2:00 PM, Tom Evans wrote: > On Tue, Mar 20, 2012 at 5:41 PM, Donald Stufft <donald.stu...@gmail.com > (mailto:donald.stu...@gmail.com)> wrote: > > What Alex said. If it was _just_ the username then you'd have a good > > argument for > > a setting like that. However there's username, email, some people want to > > add > > fields, some want to get rid of, or combine fields. Ideally any change would > > work > > for as many of those use cases without turning into a giant set of boolean > > flags > > that drastically alter the DB schema. > > > > > No-one is talking about a 'giant set of boolean flags', or drastically > altering the DB schema. > > The email field needs to accept email addresses of up to 254 octets. > The username field should be able to hold common fields used as a > username, eg emails, and hence needs to be longer. > > That is one boolean flag. No more. If you want more flexibility on the > model, you would use the proposed pluggable auth models. > > What the much maligned setting gives us is a way to provision new > sites and migrate existing sites that care about that situation in to > a position where users with long email addresses can sign up to a > django site. Score. > > Cheers > > Tom > > -- > You received this message because you are subscribed to the Google Groups > "Django developers" group. > To post to this group, send email to django-developers@googlegroups.com > (mailto:django-developers@googlegroups.com). > To unsubscribe from this group, send email to > django-developers+unsubscr...@googlegroups.com > (mailto:django-developers+unsubscr...@googlegroups.com). > For more options, visit this group at > http://groups.google.com/group/django-developers?hl=en. > >
So you fix the problem for the people who agree that username should be longer, and that email should be longer, but not the people who feel that email should be longer but username is fine? Those settings do not feel any cleaner to me personally than monkey patching the models. -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers@googlegroups.com. To unsubscribe from this group, send email to django-developers+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-developers?hl=en.