Skip to main content

Enable SQLAlchemy pane of Flask-DebugToolbar

Project description

Tests

ckanext-fdt-sqlalchemy

Enable Flask-DebugToolbar's SQLAlchemy pane.

SQLAlchemy panel

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:

  1. Install the plugin and flask-sqlalchemy~=2.5.0:

    pip install 'ckanext-fdt-sqlalchemy[deps]'
    
  2. Add fdt_sqlalchemy to the ckan.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

AGPL

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ckanext-fdt-sqlalchemy-0.0.2.tar.gz (18.2 kB view hashes)

Uploaded Source

Built Distribution

ckanext_fdt_sqlalchemy-0.0.2-py3-none-any.whl (17.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page