|
You are here |
www.rasulkireev.com | ||
| | | | |
quakkels.com
|
|
| | | | | 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
|
|
| | | | | 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
|
|
| | | | | Learn how to build a board list page for your Trello clone! This tutorial covers creating boards, using Alpine.js for interactivity. | |
| | | | |
corgibytes.com
|
|
| | | 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. | ||