Simple way to store and use queries in database for use of DBA in Django Admin
Try to use: https://github.com/groveco/django-sql-explorer
pip install requery
- Add
requery
to yourINSTALLED_APPS
insettings.py
INSTALLED_APPS = (
# ...
'requery',
)
- Run
python manage.py migrate
- Create and edit query
You can use :param_name
to use to run your queries later.
- Listing your queries stored in Django Admin
You can choose a query to run, just click in Run
- Running and show result
Fill the form with your parameters and click in Run to see the results
This project is still under development. Feedback and suggestions are very welcome and I encourage you to use the Issues list on Github to provide that feedback.
The requery was original created by Ezequiel Bertti @ebertti and João Leite @joaoleite in September 2012.
- 0.3.5.1
- Working on Python 3 - @tomatohater