mirror of
https://github.com/Rushilwiz/brancher.git
synced 2025-04-22 12:59:52 -04:00
13 lines
316 B
Python
13 lines
316 B
Python
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.run(args, check=True)
|