/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

www.laceyhenschel.com
| | bitofpixels.com
5.7 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).
| | alexgaynor.net
2.7 parsecs away

Travel
| | [AI summary] Alex, a software resilience engineer, demonstrates how to implement a read-only field in Django by subclassing FileField and modifying the widget rendering and validation logic.
| | jinyuz.dev
2.1 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
16.2 parsecs away

Travel
| Django middleware is a powerful tool that allows you to process requests and responses globally across your entire Django application. In this post, we'll explore what middleware is, how it works, and walk through some practical examples. What is Dja...