django1/django/db/backends/sqlite3/client.py

7 lines
131 B
Python

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