On Oct 21, 10:54 pm, Russell Keith-Magee
wrote:
> On Fri, Oct 22, 2010 at 12:37 PM, Phlip wrote:
> > I just tried it:
>
> > DATABASES = {
> > 'default': {
> > 'ENGINE': 'django.db.backends.sqlite3',
> > # TODO restore 'NAME': ':memory:',
> > 'NAME': '/home/phlip/fun.db'
On Fri, Oct 22, 2010 at 12:37 PM, Phlip wrote:
> I just tried it:
>
> DATABASES = {
> 'default': {
> 'ENGINE': 'django.db.backends.sqlite3',
> # TODO restore 'NAME': ':memory:',
> 'NAME': '/home/phlip/fun.db',
> 'USER': '',
> 'PASSWORD': '',
> 'HOST':
I just tried it:
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
# TODO restore'NAME': ':memory:',
'NAME': '/home/phlip/fun.db',
'USER': '',
'PASSWORD': '',
'HOST': '',
'PORT': '',
}
}
Yes that's in my test_settin
Thanks Russ,
I couldn't find it in the documentation, IMHO I think it's a little bit
hidden.
Best regards,
Miguel Araujo
2010/10/21 Russell Keith-Magee
> On Wed, Oct 20, 2010 at 10:33 PM, Miguel Araujo
> wrote:
> > Hi everyone,
> > Is there any way to force sqlite3 to use a file instead of RA
On Wed, Oct 20, 2010 at 10:33 PM, Miguel Araujo wrote:
> Hi everyone,
> Is there any way to force sqlite3 to use a file instead of RAM when running
> tests? I would like to access the DB somehow to check some fields. This is
> the only DB engine I have in this machine.
Yes - set the TEST_NAME (or
5 matches
Mail list logo