splitting this up since it's another thing

On 11/5/06, José de Paula Eufrásio Júnior <[EMAIL PROTECTED]> wrote:
>
> On 11/5/06, Mark Ramm <[EMAIL PROTECTED]> wrote:
> >
> > Yep, this is pretty far up on my priority list.  I also think some of
> > our install docs need to be fleshed out a bit with information on how
> > to get Python to talk to your database of choice.
>
> Talk about developing in 2 different environments... My linux box at
> work? Does great with any database. Same code on my windows machine at
> home? Never got the SQLite dburi to work right...
>
those are the same as the lowlevel driver it passes directly, I
believe there is a small hack to allow c:\foo\bar\baz.db style dbs on
windows.

but this is not a problem of TG, sqlite works based on a file so there
is nothing we can do about this I suggest you have 2 files dev-win.cfg
and dev-unix.cfg and modify start-<proj>.py

to something like this
import os

if os.name == 'nt':
    turbogears.update_config(configfile="dev-win.cfg"....
else if os.name == 'posix':
    turbogears.update_config(configfile="dev-unix.cfg"....
else
    exit(1)

> Documentation about extra options on the connection string would be
> great too. Sometimes you can only find what you want on the trac
> tickets or fellow developers blogs... :)
>
I guess we could contribute those to the drivers because I did a small
search on pysqlite and didn't find it.

--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to