User's banner
Avatar

Luis Norambuena

norambna@programming.dev
Joined
100 posts • 27 comments

Python / Django developer
Aspiring rustacean

Direct message

Good idea! But the borders don’t look good with a darker background. I’m seeing this right now: https://0x0.st/H0JJ.png

permalink
report
reply

Same problem here!

permalink
report
reply

django-tui 23.9 adds an interactive shell for running django ORM queries: https://fosstodon.org/@anze3db/111608276020943202

permalink
report
reply

PyQT / PySide are huge, but they have been very good in my experience coding cross platform desktop programs. macOS, Windows and Linux (even on ARM) are very well supported.

permalink
report
parent
reply

The error you would get is a timeout. The easiest way to wait longer is increasing the timeout of your connection. I think the default value for a timeout is 5 seconds.

permalink
report
parent
reply

Look at ForeignKey -> Arguments: https://docs.djangoproject.com/en/4.2/ref/models/fields/#arguments

In the sample in the linked page, deleting a Person object would also delete Order object/s linked to that particular person via the ForeignKey

edit: although the syntax is usually on_delete=models.CASCADE

permalink
report
parent
reply

I use VSCode for coding, but if it’s a small script or pure text files, then I use Geany.

permalink
report
parent
reply