How to Filter Django QuerySets — 15 Examples For Beginners — CTRL Z BlogI am going to show you how to filter your Django QuerySets. There are lots of tips and tricks to write more powerful Django queries. By…Nov 2, 2022Nov 2, 2022
Published inCodeXHow to Start a Django ProjectIn this tutorial, we will start a Django project from scratch.Sep 30, 20211Sep 30, 20211
Django Testing for BeginnersThere are two things I regret not learning properly before starting my first development job: git and testing.Mar 28, 20211Mar 28, 20211
Published inDev GeniusHow to get started with the Debugger in VS CodeI have a confession to make. Until yesterday, I was using print statements to debug my Python code.Oct 12, 20202Oct 12, 20202
How to automatically log in users in with DjangoDjango does not automatically log in users after signing in, but achieving this functionality only takes a few extra lines of code.Oct 10, 2020Oct 10, 2020
Published inAnalytics VidhyaDjango: how to pass the user object into form classesYesterday, I published a tutorial on how to build forms with ManyToMany fields. The back-end work was almost complete, except for a bug…Sep 27, 202010Sep 27, 202010
Published inThe StartupDjango Forms for Many-to-Many FieldsBuilding forms with Django is straightforward if your fields are simple inputs like text fields, but what if your forms need to reference…Sep 26, 202010Sep 26, 202010
Setting up a forked Django projectOne of the things I miss about my JavaScript days is the ease of forking a repository and getting the dependencies installed. JavaScript…Sep 20, 20201Sep 20, 20201
How to set up environment variables in DjangoIt is important to keep sensitive bits of code like API keys and passwords away from prying eyes. The best way to do this is to not put…Sep 17, 20209Sep 17, 20209
Published inDev GeniusDjango Explained for JavaScript DevelopersWhen you learn a back-end framework, you become used to doing projects in a certain way. My first framework was Express (the E in MERN…Sep 14, 20201Sep 14, 20201