A Guide to the Django QuerySet: filter(), get(), and exclude()
This Django QuerySet guide will help you understand how a QuerySet works as Django’s “magic” tool for getting data from your database. It’s a list…

This Django QuerySet guide will help you understand how a QuerySet works as Django’s “magic” tool for getting data from your database. It’s a list…

We’ve used the Hugging Face pipeline many times. But how do you know which model name to use? How do you find a model to…

You have a Django User model, but it only has username, email, etc. What if you want to add a bio, a profile_picture, or a…

You’ve secured your views. Now you have a new problem. When a user creates a new post, how do you save who that user was?…

A blog isn’t complete until users can comment. This project will teach you one of Django’s most important concepts: database relationships (ForeignKeys). Building a Django…

Let’s add a “profile picture” or “post image” to your models. Working with Django File Uploads means handling files involves three key parts: the Model,…

The pipeline() function in our Hugging Face intro is amazing, but it’s a black box. To do advanced work (like fine-tuning or getting raw data),…

When working with databases today, Django Models can simplify the process. A real website needs to save data: users, blog posts, comments, products. In the…