norambna

joined 1 year ago
11
Django 5.1 released (www.djangoproject.com)
submitted 1 month ago by norambna to c/django
10
submitted 5 months ago by norambna to c/django
5
Django: show me the SQL (b0uh.github.io)
submitted 6 months ago by norambna to c/django
[–] norambna 1 points 9 months ago

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

[–] norambna 2 points 10 months ago

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.

[–] norambna 1 points 10 months ago

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.

[–] norambna 2 points 10 months ago* (last edited 10 months ago) (1 children)

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

[–] norambna 2 points 10 months ago

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

[–] norambna 2 points 11 months ago (1 children)

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

[–] norambna 3 points 11 months ago

IMHO the Django Girls tutorial should be your first step: https://tutorial.djangogirls.org/en/

[–] norambna 4 points 1 year ago

I've been following this project for a while and it's great. They are just not great at promoting it.

view more: ‹ prev next ›