/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.rasulkireev.com
| | quakkels.com
1.7 parsecs away

Travel
| | Django is a Python framework that I've written about before. I've compared Django to ASP.NET MVC. But, I didn't go into much detail about how to actually use Django to create a data driven website. That's what I'll cover now.
| | jinyuz.dev
2.2 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"
| | keepsimple.dev
1.6 parsecs away

Travel
| | Learn how to build a board list page for your Trello clone! This tutorial covers creating boards, using Alpine.js for interactivity.
| | corgibytes.com
15.0 parsecs away

Travel
| I've spent the last couple of months working on an API written using Python, Django, and Django REST Framework (DRF). The latter is a popular, well-established framework for building APIs in Python, so I assumed it would have decent documentation surrounding relational fields, which is a fairly common situation in any model-view-controller (MVC) framework. It turns out that was a faulty assumption.