app/django/db/backends/sqlite3/client.py
author Pawel Solyga <Pawel.Solyga@gmail.com>
Mon, 02 Feb 2009 16:57:21 +0000
changeset 1188 d40ace54d14b
parent 323 ff1a9aa48cfd
permissions -rw-r--r--
Reset the RELEASE_TAG to None (unreleased) now that the 0.2-20090202 release candidate branch has been created. Patch by: Pawel Solyga

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)