summaryrefslogtreecommitdiff
path: root/django/db/backends/sqlite3/client.py
Commit message (Collapse)AuthorAgeFilesLines
* Refs #33476 -- Reformatted code with Black.django-bot2022-02-071-2/+2
|
* Fixed #32355 -- Dropped support for Python 3.6 and 3.7Mariusz Felisiak2021-02-101-7/+1
|
* Refs #32061 -- Unified DatabaseClient.runshell() in db backends.Simon Charette2020-10-291-9/+10
|
* Fixed #29501 -- Allowed dbshell to pass options to underlying tool.Adam Johnson2020-04-141-1/+2
|
* Fixed #31076 -- Fixed dbshell crash on Windows with Python < 3.8.Zeynel Özdemir2019-12-161-1/+3
| | | | | subprocess.run()'s args parameter accepts path-like objects on Windows since Python 3.8.
* Replaced subprocess commands by run() wherever possible.Claude Paroz2019-08-231-1/+1
|
* Fixed #26751 -- Made dbshell exit with the shell's error code.Étienne BERSAC2016-06-271-1/+1
|
* Fixed #22603 -- Reorganized classes in django.db.backends.Tim Graham2015-01-141-1/+1
|
* Fixed #22234 -- Replaced OS-specific code with subprocess.call() in dbshell.Mihail Milushev2014-08-041-6/+2
| | | | This fixes escaping of special characters on Windows.
* A large number of stylistic cleanups across django/db/Alex Gaynor2013-07-081-1/+1
|
* Fixed #1142 -- Added multiple database support.Russell Keith-Magee2009-12-221-1/+1
| | | | | | | | | | | | | | | | | This monster of a patch is the result of Alex Gaynor's 2009 Google Summer of Code project. Congratulations to Alex for a job well done. Big thanks also go to: * Justin Bronn for keeping GIS in line with the changes, * Karen Tracey and Jani Tiainen for their help testing Oracle support * Brett Hoerner, Jon Loyens, and Craig Kimmerer for their feedback. * Malcolm Treddinick for his guidance during the GSoC submission process. * Simon Willison for driving the original design process * Cal Henderson for complaining about ponies he wanted. ... and everyone else too numerous to mention that helped to bring this feature into fruition. git-svn-id: http://code.djangoproject.com/svn/django/trunk@11952 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #10357 -- Fixed the "dbshell" command for Windows users.Malcolm Tredinnick2009-04-111-3/+10
| | | | git-svn-id: http://code.djangoproject.com/svn/django/trunk@10517 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #10459 -- Refactored the internals of database connection objects so ↵Adrian Holovaty2009-03-111-2/+1
| | | | | | | | | | | | | | | | | that connections know their own settings and pass around settings as dictionaries instead of passing around the Django settings module itself. This will make it easier for multiple database support. Thanks to Alex Gaynor for the initial patch. This is backwards-compatible but will likely break third-party database backends. Specific API changes are: * BaseDatabaseWrapper.__init__() now takes a settings_dict instead of a settings module. It's called settings_dict to disambiguate, and for easy grepability. This should be a dictionary containing DATABASE_NAME, etc. * BaseDatabaseWrapper has a settings_dict attribute instead of an options attribute. BaseDatabaseWrapper.options is now BaseDatabaseWrapper['DATABASE_OPTIONS'] * BaseDatabaseWrapper._cursor() no longer takes a settings argument. * BaseDatabaseClient.__init__() now takes a connection argument (a DatabaseWrapper instance) instead of no arguments. git-svn-id: http://code.djangoproject.com/svn/django/trunk@10026 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* db: Gave each DatabaseClient class an 'executable_name' attribute (e.g., ↵Adrian Holovaty2008-09-091-1/+3
| | | | | | 'psql' or 'mysql'), so that we can use it to make a more helpful error message. Refs #8978 git-svn-id: http://code.djangoproject.com/svn/django/trunk@8989 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #5461 -- Refactored the database backend code to use classes for the ↵Russell Keith-Magee2008-08-111-3/+5
| | | | | | creation and introspection modules. Introduces a new validation module for DB-specific validation. This is a backwards incompatible change; see the wiki for details. git-svn-id: http://code.djangoproject.com/svn/django/trunk@8296 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* MERGED MAGIC-REMOVAL BRANCH TO TRUNK. This change is highly ↵Adrian Holovaty2006-05-021-0/+6
backwards-incompatible. Please read http://code.djangoproject.com/wiki/RemovingTheMagic for upgrade instructions. git-svn-id: http://code.djangoproject.com/svn/django/trunk@2809 bcc190cf-cafb-0310-a4f2-bffc1f526a37