Explore >> Select a destination


You are here

alexgaynor.net
| | www.django-rest-framework.org
2.8 parsecs away

Travel
| | Django, API, REST, Views
| | jinyuz.dev
2.0 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"
| | bitofpixels.com
2.9 parsecs away

Travel
| | I recently integrated Django Sendfile with a website to provide downloads that required authentication (even knowing the location of an authentication requiring file in the static directory will not allow you to download it thanks to some Apache conf magic).
| | rogs.me
14.9 parsecs away

Travel
| [AI summary] A tutorial demonstrating how to implement asynchronous data fetching for Django models using Celery task queues.