Django Forms: How to Automatically Set the Author on Save
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?…
Explore the world of Web Development with our expert guides. Get tips and tools for designing and building impactful websites and applications.

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?…

You’ve built amazing AI models with Hugging Face, but they’re stuck in your script. Want to know how to deploy Hugging Face API so other…

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…

This is the ultimate goal of PyScript for Data Science: building a tool that lets your users analyze their own data, all inside their browser….

In our last security guide, we used LoginRequiredMixin to block logged-out users. But this still leaves a security hole: Any logged-in user can edit any…

You’ve built a full CRUD application and a Login System. But there’s a huge security hole: Anyone can visit /post/5/edit/ and change your posts! To…

A PyScript app is great, but it’s isolated. To build a real dashboard (like a weather app or a crypto tracker), you need to get…

This is the future. Our dashboard will showcase how you can combine PyScript, Hugging Face, and Polars to create advanced data apps. We are going…

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,…

You’ve learned how PyScript can run Python in a browser and how to interact with the page. Now, let’s do something powerful. In this article,…