pardon, not sure i got what u mean, when starting new project that use 
postgresql, i usually create the database from the terminal, ensure DAL 
migrate is true, then hit the web2py app admin once
e.g.
# create database
/Applications/Postgres.app/Contents/Versions/9.4/bin/createdb -O users 
new_project
# list databases
/Applications/Postgres.app/Contents/Versions/9.4/bin/psql -l

if you want to do it in web2py site, i think you can define a controller 
function that check if database not exists then execute sql command to 
create database on postgresql.

best regards,
stifan

-- 
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