app/django/db/backends/sqlite3/client.py
author Pawel Solyga <Pawel.Solyga@gmail.com>
Fri, 05 Dec 2008 22:54:43 +0000 (2008-12-05)
changeset 668 77f9a6ea6e67
parent 323 ff1a9aa48cfd
permissions -rw-r--r--
Some style and typo fixes in different modules. 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)