Django Querybuilder facilitates visualizing data using AJAX tables and maps with filters in Django applications.
You can see the examples at http://djangoqb.qed.ai/.
You can see example Django project using Django Querybuilder in directory
example. Go to the directory and execute:
pip install -r requirements.txt
Add those lines to you project requirements or use them as PIP arguments.
django-querybuilder -e git+git://github.com/qedsoftware/django-datatable-view#egg=django-datatable-view # for querybuilder
Afterwards, you can use our package the same way as in the example. You can also consult docstrings.
To get frontend dependencies, you need to have
Node.js, install the frontend dependencies by running
the following from the root of your Django checkout:
npm install npm run deps
Then build frontend files:
npm run build
For development run
npm run start
that way build will happen automatically each time you change any related files.
Contents of the folders listed below are generated automatically.
/django_querybuilder/static/django_querybuilder/dist /django_querybuilder/static/django_querybuilder/css /django_querybuilder/static/django_querybuilder/libs
Modifying them manually does not make much sense, as they will be overridden.
They are included to enable the package to work immediately after installing it via pip.
In Python, see docstrings for documentation. You can also browse them using
help method and using:
python -m pydoc django_querybuilder
npm run js-docs
report, execute in directory
coverage3 run ./manage.py test coverage3 html ../django_querybuilder/*py