app/django/db/backends/sqlite3/client.py
author Dan Bentley <dbentley@google.com>
Mon, 25 May 2009 16:23:16 -0700
changeset 2351 73448b71aa07
parent 323 ff1a9aa48cfd
permissions -rw-r--r--
Add Organization Application seeding. Fix the seeding in seed_db so that a consistent linkid for organization applications is used. Use the last entry in the split array instead of the 2nd.

from django.db.backends import BaseDatabaseClient
from django.conf import settings
import os

class DatabaseClient(BaseDatabaseClient):
    executable_name = 'sqlite3'

    def runshell(self):
        args = ['', settings.DATABASE_NAME]
        os.execvp(self.executable_name, args)