blob: 2e6477a1ca4062733b50a67d69552f0b57b4e36a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
import subprocess
from django.db.backends.base.client import BaseDatabaseClient
class DatabaseClient(BaseDatabaseClient):
executable_name = 'sqlite3'
def runshell(self):
args = [self.executable_name,
self.connection.settings_dict['NAME']]
subprocess.call(args)
|