app/django/db/backends/sqlite3/client.py
author Lennard de Rijk <ljvderijk@gmail.com>
Tue, 10 Mar 2009 21:08:30 +0000
changeset 1788 f7665077a54f
parent 323 ff1a9aa48cfd
permissions -rw-r--r--
StudentProposal abstract is now a text property to support more then 500 bytes. Just in case someone decides to enter a lot of info. The organizations can decide whether it fits their idea of an abstract. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed

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)