Can anyone explain exatly this?
db = DAL(myconf.get('db.uri'),
pool_size=myconf.get('db.pool_size'),
migrate_enabled=myconf.get('db.migrate'),
check_reserved=['all'])
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.
After updating my web2py from the trunc about two hours ago, the following
happened when I tried to access an existing app:
Database drivers available: pysqlite2, pymysql, psycopg2, pg8000, IMAP
Traceback (most recent call last):
File "/home/js/web2py/gluon/restricted.py", line 205, in restricte
Traceback (most recent call last):
File "C:\Bin\web2py\gluon\restricted.py", line 188, in restricted
exec ccode in environment
File "C:/Bin/web2py/applications/eden/models/02_pr.py", line 316, in
requires = IS_NULL_OR(IS_IN_DB(db, "pr_person.id",
shn_pr_person_represent)),
File "C:\B
The good news...
I have finished the new DAL for RDBMs. If you now replace gluon/sql.py
with gluon/dal.py as long as you do not use GAE, everything should
work fine. All tests pass.
The new dal should have all the features as the old dal but no more.
It just comes with a better more modular desig
I_can_test_with_Oracle_if_new_DAL_supports_@(connector)_and_.(schema)_in_tablenames,
I_had_to_modify_old_DAL_for_this.
Sorry_for_underscores._Space_looks_broken.
On Fri, Feb 5, 2010 at 7:14 PM, mdipierro wrote:
>
> I encourage eveybody running from source to try the new dal:
>
> cd gluon
> cp s
On Fri, Feb 5, 2010 at 9:14 AM, mdipierro wrote:
> I encourage eveybody running from source to try the new dal:
>
> cd gluon
> cp sql.py sql.py.bak
> cp dal.py sal.py
do you mean cp dal.py sql.py ?
>
> and restart web2py.
> Let me know what works or does not work.
>
> Massimo
>
--
You received
I will only be able to test the new dal with sqlite and postgres.
-Thadeus
On Fri, Feb 5, 2010 at 10:14 AM, mdipierro wrote:
> I encourage eveybody running from source to try the new dal:
>
> cd gluon
> cp sql.py sql.py.bak
> cp dal.py sal.py
>
> and restart web2py.
> Let me know what works
I encourage eveybody running from source to try the new dal:
cd gluon
cp sql.py sql.py.bak
cp dal.py sal.py
and restart web2py.
Let me know what works or does not work.
Massimo
--
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this g
8 matches
Mail list logo