Re: name of test database

2006-09-03 Thread Ned Batchelder
Partly on this topic:  I would very much like to use sqlite in-memory databases for testing, even though I use MySQL for deployment.  The speed difference is 10x.  One way to do this is to have a TEST_DATABASE_ENGINE setting, and add logic to create_test_db(). Thoughts? --Ned. Adrian Holovat

Re: Admin breaks if unicode data is put into PostgreSQL ascii encoded database

2006-09-03 Thread gabor
Justin Bayer wrote: > Hi django-users, > > I developed an application locally and used it with my postgres > database, which used unicode as the server_encoding. Everything worked > fine. > > Recently I deployed it onto a system where the postgres server_encoding > is sql_ascii. > > After insta

Re: name of test database

2006-09-03 Thread Russell Keith-Magee
On 9/4/06, Ned Batchelder <[EMAIL PROTECTED]> wrote: Partly on this topic:  I would very much like to use sqlite in-memory databases for testing, even though I use MySQL for deployment.  The speed difference is 10x.  One way to do this is to have a TEST_DATABASE_ENGINE setting, and add logi

Re: Filters no longer parsed for unresolved variables

2006-09-03 Thread SmileyChris
Hi Russ, Thanks, that explains the problem with my patch perfectly :) Your solution looks great: it still solves the original problem while bringing back the correct functionality if TEMPLATE_STRING_IF_INVALID is not set. I can't see that you've missed anything (but then again, I didn't manage t

Re: name of test database

2006-09-03 Thread Ned Batchelder
Russell Keith-Magee wrote: On 9/4/06, Ned Batchelder <[EMAIL PROTECTED]> wrote: Partly on this topic:  I would very much like to use sqlite in-memory databases for testing, even though I use MySQL for deployment.  The speed difference is 10x.  One way to do this is to have a TEST

Re: Re: name of test database

2006-09-03 Thread Matthew Flanagan
On 04/09/06, Russell Keith-Magee <[EMAIL PROTECTED]> wrote: > > > On 9/4/06, Ned Batchelder <[EMAIL PROTECTED]> wrote: > > > > > > Partly on this topic: I would very much like to use sqlite in-memory > databases for testing, even though I use MySQL for deployment. The speed > difference is 10x.