Skip to main content

Simple way to store and use queries in database for use of DBA for Django Admin

Project description

requery
=======

Simple way to store and use queries in database for use of DBA in Django Admin

.. image:: https://d2weczhvl823v0.cloudfront.net/ebertti/requery/trend.png
.. image:: https://pypip.in/v/requery/badge.png
.. image:: https://pypip.in/d/requery/badge.png

Installation
------------

1. ``pip install requery``

2. Add ``requery`` to your ``INSTALLED_APPS`` in ``settings.py`` ::

.. code-block:: python

INSTALLED_APPS = (
# ...
'requery',
)

3. Run ``python manage.py migrate``

Screenshot
----------

1) Create and edit query

You can use ``:param_name`` to use to run your queries later.

.. image:: https://raw.githubusercontent.com/ebertti/requery/master/screenshot/change_form.png

2) Listing your queries stored in Django Admin

You can choose a query to run, just click in **Run**

.. image:: https://raw.githubusercontent.com/ebertti/requery/master/screenshot/change_list.png

3) Running and show result

Fill the form with your parameters and click in **Run** to see the results

.. image:: https://raw.githubusercontent.com/ebertti/requery/master/screenshot/running.png


Please help us
--------------
This project is still under development. Feedback and suggestions are very welcome and I encourage you to use the `Issues list <http://github.com/ebertti/requery/issues>`_ on Github to provide that feedback.

Authors
-------
The requery was original created by Ezequiel Bertti `@ebertti <https://github.com/ebertti>`_ and João Leite `@joaoleite <https://github.com/joaoleite>`_ in September 2012.

Changelog
---------

* 0.3.5.1

* Working on Python 3 - `@tomatohater <https://github.com/tomatohater>`_

* 0.4.1.0

* Allow receive list parameter as arguments for query

* 0.4.1.1

* Fix reverse url in template

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

requery-0.4.1.1.tar.gz (839.3 kB view details)

Uploaded Source

File details

Details for the file requery-0.4.1.1.tar.gz.

File metadata

  • Download URL: requery-0.4.1.1.tar.gz
  • Upload date:
  • Size: 839.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/2.7.12

File hashes

Hashes for requery-0.4.1.1.tar.gz
Algorithm Hash digest
SHA256 3947e49279036736fb11daefec60e21897ab375afa54b0285e9a7c205a9b09e4
MD5 f5742dca3e1bd93e78e55367eb6ffd54
BLAKE2b-256 16d9952bfecd72ddeaa3c8df498fe5ef47377be444187a93d3660d80bee17c38

See more details on using hashes here.

Supported by

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