I've just released django-tui 23.9!
The new version adds an interactive shell for running #django ORM queries!
I've just released django-tui 23.9!
The new version adds an interactive shell for running #django ORM queries!
@anze3db is this app acting as a wrapper or a Django app, does it convert the query into SQL command for presentation or map the query made by Django?
@alexdeathway The app runs the code in the left editor (and some convenience imports + django.setup()) and prints out anything that was added to stdout to the editor on the right.
Check out the code if you want to see how it works: https://github.com/anze3db/django-tui/blob/9b33f7b6c08ded68516afe5e74af07479730fcf4/src/django_tui/management/commands/ish.py#L117-L143