summaryrefslogtreecommitdiff
path: root/django/contrib/gis/db/backends/spatialite/base.py
Commit message (Collapse)AuthorAgeFilesLines
* Refs #33476 -- Reformatted code with Black.django-bot2022-02-071-18/+20
|
* Fixed #32575 -- Added support for SpatiaLite 5.Claude Paroz2021-04-081-1/+4
|
* Fixed #29484 -- Removed the need to specify SPATIALITE_LIBRARY_PATH with ↵Claude Paroz2018-06-091-12/+22
| | | | | | Spatialite 4.2+. Thanks Tim Graham for the review.
* Fixed #28654 -- Dropped support for SpatiaLite 4.0.Tim Graham2017-09-301-2/+1
|
* Used sqlite3.Connection.load_extension() instead of query execution for ↵Sergey Fedoseev2017-09-121-6/+3
| | | | SpatiaLite loading.
* Refs #23919 -- Replaced super(ClassName, self) with super().chillaranand2017-01-251-3/+3
|
* Refs #23919 -- Replaced six.reraise by raiseClaude Paroz2017-01-221-7/+4
|
* Refs #23919 -- Removed pysqlite support (it's Python 2 only).Tim Graham2017-01-201-9/+4
|
* Fixed #27170 -- Added DatabaseWrapper class attributes to ease subclassing.Chris Jerdonek2016-09-081-4/+5
|
* Removed obsolete SQL generation methods.Tim Graham2015-01-181-2/+0
|
* Fixed #22603 -- Reorganized classes in django.db.backends.Tim Graham2015-01-141-23/+10
|
* Fixed #20968 -- Checked Spatialite metadata before migrationsClaude Paroz2014-12-081-0/+9
| | | | | Thanks Kenial S. Lee for the initial patch and Tim Graham for the review.
* Renamed SpatiaLite feature flag introduced in refs #23152.Tim Graham2014-10-311-1/+1
| | | | Thanks Doug Goldstein for the suggestion.
* Fixed #23152 -- Added support for transactional Spatialite metadata ↵Tim Graham2014-10-301-0/+8
| | | | | | initialization. Thanks Doug Goldstein for the initial patch.
* Factorized schema_editor() at BaseDatabaseWrapper levelClaude Paroz2014-09-261-4/+2
|
* Replaced no_spatialite by connection featuresClaude Paroz2014-08-231-1/+3
| | | | Refs #22632. Thanks Tim Graham for the review.
* Replaced HAS_SPATIAL_DB by testing database featureClaude Paroz2014-08-191-1/+8
| | | | | | Refs #22632. This should be the base for using more database features to exclude specific backends in GIS tests. Thanks Tim Graham for the review.
* Added Spatialite support to the new migration frameworkClaude Paroz2014-04-231-0/+5
| | | | Refs #22451.
* Continue to attack E302 violationsAlex Gaynor2013-11-021-0/+1
|
* Fixed #18003 -- Preserved tracebacks when re-raising errors.konarkmodi2013-03-191-2/+6
| | | | Thanks jrothenbuhler for draft patch, Konark Modi for updates.
* Removed unused imports.Aymeric Augustin2013-03-121-4/+2
| | | | One of these functions didn't exist anymore.
* Refactored gis/spatialite connection initializationAnssi Kääriäinen2012-11-271-26/+20
| | | | | The connection state is now initialized in get_new_connection(). Refs #19274.
* Fixed #18013 -- Use the new 'as' syntax for exceptions.Claude Paroz2012-04-291-1/+1
| | | | | Thanks Clueless for the initial patch. Note that unittest has been purposely left out (external package only used by Python 2.6).
* Removed code duplicated in SQLite3 and SpatiaLite GeoDjango DB backends.Ramiro Morales2012-02-111-16/+1
| | | | | | | | | | | Moved it to an auxiliary method in the SQLite3 backend cursor class. Did this to reduce the chances of us forgetting to port changes in DB connection setup process from the former to the latter one like it happened e.g. in r17205. Refs #17258. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17499 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #16408 -- Fixed conversion of dates, and other problems with the ↵Justin Bronn2011-09-091-4/+5
| | | | | | SpatiaLite backend. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16749 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #16225 -- Removed unused imports. Many thanks to Aymeric Augustin for ↵Jannis Leidel2011-07-131-2/+3
| | | | | | the work on the patch and Alex for reviewing. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16539 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #13798 -- Added connection argument to the connection_created signal. ↵Russell Keith-Magee2010-08-301-1/+1
| | | | | | Thanks to liangent for the report, and Alex Gaynor for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13672 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #12605 -- Removed redundant import of `ImproperlyConfigured`. Thanks, ↵Justin Bronn2010-01-271-1/+0
| | | | | | tmcw. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12310 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #12637 -- GeoDjango's `inspectdb` command is now a subclass of ↵Justin Bronn2010-01-181-0/+2
| | | | | | Django's, and works with all spatial backends (Oracle and SpatiaLite did work before). This changeset introduces new introspection modules for all of the spatial backends and adds hooks to the original `inspectdb.Command` class to enable reuse. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12257 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Changed a whole bunch of places to raise exception instances instead of ↵Adrian Holovaty2010-01-101-1/+1
| | | | | | old-style raising exception classes plus a comma. Good for the future Python 3 conversion git-svn-id: http://code.djangoproject.com/svn/django/trunk@12180 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed problem in which SpatiaLite library would not be loaded for the ↵Justin Bronn2010-01-011-13/+16
| | | | | | connection under certain circumstances, e.g., when using the geographic admin. Thanks, jtiai, for the bug report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12037 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #1142 -- Added multiple database support.Russell Keith-Magee2009-12-221-0/+73
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