Tablenames should be conveniently namespaced with the application's name, so that applications do not clobber eachother's tables.
db=GQLDB(namespace=request.application) db.define_table('posts') db.posts._tablename --> welcome___posts Using db.posts is much nicer than db.welcome___posts, especially when someone installs an application under a different name, because you do not need to modify the code. Namespaces in the DAL could also be used to explicitly control whether specific tables are intended to be private or shared between apps (eg. t2). Do any of the SQL drivers do anything similar already? Robin --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py@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 -~----------~----~----~----~------~----~------~--~---