app/django/db/backends/sqlite3/client.py
author Sverre Rabbelier <srabbelier@gmail.com>
Sat, 22 Nov 2008 20:10:43 +0000
changeset 562 1bf2beedda03
parent 323 ff1a9aa48cfd
permissions -rw-r--r--
Made Request use the new link_id and scope_path This cleans a lot of weird user interface badness and demonstrates how Linkable can be used.

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)