Explore >> Select a destination


You are here

alexgaynor.net
| | jinyuz.dev
4.5 parsecs away

Travel
| | 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"
| | kenan7.com
6.0 parsecs away

Travel
| | Enhance Django admin with a symmetrical ManyToMany filter widget for a consistent and user-friendly experience. Improve UI and UX with this guide
| | www.laceyhenschel.com
8.7 parsecs away

Travel
| | This week I needed to manipulate the privacy of a Wagtail page programmatically. The Wagtail docs show you how to edit page privacy in the admin UI, but it doesn't peek behind the curtain to show you the code. The example here is a result of my Google searching.
| | withinrafael.com
70.9 parsecs away

Travel
|