Sign in
gerrit
/
gerrit-attic
/
38966837f9f0b331b3cafa3dccb8b41f8c42c671
/
.
/
webapp
/
django
/
db
/
backends
/
sqlite3
/
client.py
blob: affb1c228cf53f9b0b52cecac43ea2451c0ac7ca [
file
] [
log
] [
blame
]
from
django
.
db
.
backends
import
BaseDatabaseClient
from
django
.
conf
import
settings
import
os
class
DatabaseClient
(
BaseDatabaseClient
):
def
runshell
(
self
):
args
=
[
''
,
settings
.
DATABASE_NAME
]
os
.
execvp
(
'sqlite3'
,
args
)