diff options
Diffstat (limited to 'webapp/django/db/backends/sqlite3/client.py')
-rw-r--r-- | webapp/django/db/backends/sqlite3/client.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/webapp/django/db/backends/sqlite3/client.py b/webapp/django/db/backends/sqlite3/client.py new file mode 100644 index 0000000000..affb1c228c --- /dev/null +++ b/webapp/django/db/backends/sqlite3/client.py @@ -0,0 +1,8 @@ +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) |