norambna
TalkPython episode about Memray: https://talkpython.fm/episodes/show/425/memray-the-endgame-python-memory-profiler
Part 2, PostgreSQL: https://www.paulox.net/2023/11/24/database-generated-columns-part-2-django-and-postgresql/
Part 3, GeoDjango & PostGIS: https://www.paulox.net/2023/12/11/database-generated-columns-part-3-geodjango-and-postgis/
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.
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.
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
I use VSCode for coding, but if it's a small script or pure text files, then I use Geany.
Follow-up by Paolo Melchiorre https://fosstodon.org/@paulox/111262287902120294
https://github.com/pauloxnet/uDjango
More on μDjango: https://www.paulox.net/2023/10/26/udjango_micro_django/
I'm seeing this problem also when interacting with 0.18.5 instances! For example a recent post from programming.dev -> lemmy.dbzer0.com (which also runs 0.18.5)
I definitively started seeing this issue only after programming.dev's upgrade to 0.18.5
I've been following this project for a while and it's great. They are just not great at promoting it.
django-tui 23.9 adds an interactive shell for running django ORM queries: https://fosstodon.org/@anze3db/111608276020943202