/explore

Click through on any links that interest you or select the planets on the right to continue exploring the Outer Web.
You are here

vxlabs.com
| | jinyuz.dev

Often, I forget how to display the raw SQL of a queryset in Django. This is a quick and easy example of how to do it from django.contrib.auth.models import User qs = User.objects.all() print(qs.query) SELECT "auth_user"."id", "auth_user"."password", "auth_user"."last_login", "auth_user"."is_superuser", "auth_user"."username", "auth_user"."first_name", "auth_user"."last_name", "auth_user"."email", "auth_user"."is_staff", "auth_user"."is_active", "auth_user"."date_joined" FROM "auth_user"
2.9 parsecs

Travel
| |
| | www.kencochrane.com


4.4 parsecs

Travel
| |
| | paulosman.me

[AI summary] A technical tutorial explaining how to use the 'through' argument in Django's ManyToManyField to store additional data in join tables.
3.7 parsecs

Travel
| |
| | www.bsdnow.tv

J language working on OpenBSD, Comparing FreeBSD GELI and OpenZFS encrypted pools, What is FreeBSD, actually?, OpenBSD's pledge and unveil from Python, and more.
28.7 parsecs

Travel
|