app/django/db/backends/sqlite3/client.py
author Todd Larsen <tlarsen@google.com>
Fri, 03 Oct 2008 22:17:05 +0000
changeset 269 0f1acc4c3e1e
parent 54 03e267d67478
child 323 ff1a9aa48cfd
permissions -rw-r--r--
Move helpers/request.py to helper/requests.py to avoid conflict with common local variable name "request". Patch by: Todd Larsen Review by: to-be-reviewed

from django.conf import settings
import os

def runshell():
    args = ['', settings.DATABASE_NAME]
    os.execvp('sqlite3', args)