Still a noob, but starting to actually use web2py, and getting hands dirty:

    I am working on  an actual web2py project (low-bandwidth word game 
back-end logic), and I'm finding as I make
incremental changes I hit potholes on the way.   I have some users who are 
going to the website to download alpha
versions of the program.   I recently enabled auth, to get registration 
capability.  Some enthusiastic users registered
before I noticed the separate "username" was not enabled.  When I enabled 
it, the database records has username of
None upon  migration, so people couldn't log on by username.   What I did 
is just plug in some  user names which
they can now change in their profile (once they find they can't log in, 
they can ask for their user name)

   In examining username, there is a limited format for user name, allowing 
only hyphens and decimal points. I wanted
more liberal character set, but there's not simple way to "extend" that 
capability.  To do that, I have to modify gluon.tools.
(Starting to get messy...)

   So my question is:  What procedure is recommended for expanding the 
auth_user data table, adding more fields and
changing validation.  Do I rewrite all of it?  Can I actually subclass it 
and extend it?  Do I edit gluon.tools in my own
system?




-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to