They should have been but if we do now we trigger a migration and
migrating fields from not unique to unique can cause trouble.

Massimo

On Mar 14, 4:02 pm, Jonathan Lundell <jlund...@pobox.com> wrote:
> On Mar 14, 2010, at 1:34 PM, mdipierro wrote:
>
> > done.
>
> Thanks.
>
> And a related question: why are the fields that are marked IS_NOT_IN_DB not 
> also marked unique? (username, email, role)
>
>
>
> > On Mar 14, 3:29 pm, Jonathan Lundell <jlund...@pobox.com> wrote:
> >> On Mar 14, 2010, at 1:23 PM, mdipierro wrote:
>
> >>> It is an excellent idea. It is in trunk, can you please check it. If
> >>> you had something different in mind, please let me know.
>
> >> That looks good to me. Maybe give it a label, like the other fields?
>
> >>> Massimo
>
> >>> On Mar 14, 1:13 pm, Jonathan Lundell <jlund...@pobox.com> wrote:
> >>>> Having a username must be a pretty common requirement (and has native 
> >>>> support in, eg, login), and it seems a shame to have to completely 
> >>>> define the user table in order to get it.
>
> >>>> Massimo, would you take a simple patch to add a username option to 
> >>>> define_tables (defaulting to False, of course)?
>
> >>> --
> >>> You received this message because you are subscribed to the Google Groups 
> >>> "web2py-users" group.
> >>> To post to this group, send email to web...@googlegroups.com.
> >>> To unsubscribe from this group, send email to 
> >>> web2py+unsubscr...@googlegroups.com.
> >>> For more options, visit this group 
> >>> athttp://groups.google.com/group/web2py?hl=en.
>
> > --
> > You received this message because you are subscribed to the Google Groups 
> > "web2py-users" group.
> > To post to this group, send email to web...@googlegroups.com.
> > To unsubscribe from this group, send email to 
> > web2py+unsubscr...@googlegroups.com.
> > For more options, visit this group 
> > athttp://groups.google.com/group/web2py?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web...@googlegroups.com.
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.

Reply via email to