Enable SQLAlchemy pane of Flask-DebugToolbar
Project description
ckanext-fdt-sqlalchemy
Enable Flask-DebugToolbar's SQLAlchemy pane.
Requirements
Compatibility with core CKAN versions:
CKAN version | Compatible? |
---|---|
2.9 | yes |
2.10 | yes |
This plugin requires flask-sqlalchemy~=2.5.0
.
The latest version(v3.0) of flask-sqlalchemy
only partially supported. While
it shows all the queries, SELECT
and EXPLAIN
links for individual queries
do not work.
Installation
To install ckanext-fdt-sqlalchemy:
-
Install the plugin and
flask-sqlalchemy~=2.5.0
:pip install 'ckanext-fdt-sqlalchemy[deps]'
-
Add
fdt_sqlalchemy
to theckan.plugins
setting in your CKAN config file.
Developer installation
To install ckanext-fdt-sqlalchemy for development, activate your CKAN virtualenv and do:
git clone https://github.com/ckan/ckanext-fdt-sqlalchemy.git
cd ckanext-fdt-sqlalchemy
python setup.py develop
Tests
To run the tests, do:
pytest --ckan-ini=test.ini
License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for ckanext-fdt-sqlalchemy-0.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5276f96d912a331d82dbaf8ab8438cf8661f1844b05e193e94df8e150bfa606f |
|
MD5 | d30e3b2937063af4ae892729d9e0b8af |
|
BLAKE2b-256 | 3d92e13fe2c18cf5e54990578840a4e4d33b84fa9f8a302ee1abc7f65d672bad |
Close
Hashes for ckanext_fdt_sqlalchemy-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d2010715f2cf9a5152cd1bb0716282c2ad5518e2a6e95678ab2037f7b68ff42a |
|
MD5 | 837eeda26f85bd2ec458d18374a51ca2 |
|
BLAKE2b-256 | 7a53544b0ab763415699452f362303d9fecfc2d9b50a5dd89246bdbc89ef4f19 |