Opened 12 years ago

Closed 12 years ago

#19146 closed Bug (fixed)

sqlite3 supports enable_load_extension() after 2.7

Reported by: anonymous Owned by: nobody
Component: Documentation Version: 1.4
Severity: Normal Keywords: GeoDjango, sqlite3
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: yes UI/UX: no

Description

In the GeoDjango docs (https://docs.djangoproject.com/en/dev/ref/contrib/gis/install/#pysqlite2), it says that you have to use pysqlite2 because only it supports enable_load_extension.

However, the Python docs(http://docs.python.org/library/sqlite3.html) show that after Python 2.7, sqlite3 also supports enable_load_extension() and associated functionality.

(Links removed in an attempt to avoid being classified as spam)

Change History (1)

comment:1 by Claude Paroz, 12 years ago

Resolution: fixed
Status: newclosed

I've just refactored the GeoDjango installation docs. I've now prefixed the pysqlite2 paragraphe with "If you are on Python 2.6". https://docs.djangoproject.com/en/dev/ref/contrib/gis/install/spatialite/#pysqlite2

Any review of the new "Installing Spatialite" page welcome.

Note: See TracTickets for help on using tickets.
Back to Top