app/django/db/backends/sqlite3/client.py
author Sverre Rabbelier <srabbelier@gmail.com>
Wed, 07 Jan 2009 21:57:48 +0000
changeset 777 16dcdb8f3357
parent 323 ff1a9aa48cfd
permissions -rw-r--r--
Added an 'edit timeline' button to the program edit page Also made the create timeline functionality use the logic modules introduced in the previous commit. Patch by: Sverre Rabbelier

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)