app/django/db/backends/sqlite3/client.py
author Lennard de Rijk <ljvderijk@gmail.com>
Tue, 15 Sep 2009 20:57:46 +0200
changeset 2923 2d0b36ef4330
parent 323 ff1a9aa48cfd
permissions -rw-r--r--
Enabled the GHOPStudent view in the GHOP module.

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)