On Feb 2, 3:05 am, Cristiano Paris wrote:
> On Mon, Feb 1, 2010 at 12:33 PM, Ramiro Morales wrote:
> > ...
> > Are you using sqlite3?
>
> Yes but, isn't the test server always using sqlite3?
>
No. The test server uses (unless told otherwise) the same db backend
as the regular server.
Matt.
--
On Mon, Feb 1, 2010 at 12:33 PM, Ramiro Morales wrote:
> ...
> Are you using sqlite3?
I think I understand why you're asking this. Here's a little test I ran:
-
import sqlite3,thread
from time import sleep
conn = sqlite3.connect(':memory:')
c = conn.cursor()
c.execute('''create table stock
On Mon, Feb 1, 2010 at 12:33 PM, Ramiro Morales wrote:
> ...
> Are you using sqlite3?
Yes but, isn't the test server always using sqlite3?
Cristiano
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-u
On Sat, Jan 30, 2010 at 11:04 AM, Cristiano Paris
wrote:
> Hi,
>
> can you explain why this doesn't work:
>
> -
> import os, sys, thread, time
>
> sys.path.append('/mysite')
> os.environ['DJANGO_SETTINGS_MODULE'] = 'mysite.settings'
>
> from django.core.handlers.wsgi import WSGIHandler()
> fro
4 matches
Mail list logo