app/django/db/backends/sqlite3/client.py
author Lennard de Rijk <ljvderijk@gmail.com>
Wed, 21 Jan 2009 13:55:06 +0000
changeset 866 6c918ceba37a
parent 323 ff1a9aa48cfd
permissions -rw-r--r--
Fixed a typo in the comments of soc/views/helper/forms.py Patch by: Lennard de Rijk

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)