Django
-
Test & Deploy Django Application to server via Github Actions
If you’re reading this article, I assume you know what Django isyou know what Github and Github Actions areyou have…
Read More » -
Run Multiple Django Projects behind Nginx Proxy
You have 2 or more Django applications. You wish to hook each to a separate domain. Behind the scenes, they’re…
Read More » -
Django Management Commands via Cron
You want to periodically run a Django management command. How do you go about it? Let’s get to it. Folder…
Read More » -
Soft Delete in Django Quickly
Adrienne Domingus has a beautiful article on soft delete in Django, taking the custom model manager approach. (Article here). Let’s…
Read More » -
Django Class Based Views Pagination with Bootstrap 4
Pagination is an essential part of platforms where one needs to list many items. Instead of displaying all the times,…
Read More » -
My #DjangoGirlsAccra in a Nutshell
Django remains my favorite Python web framework and my favorite of all frameworks. I’ve built applications with other frameworks such…
Read More » -
One Object per User in a Model
Sometimes, just sometimes, we want our users to add only one object per user per model. As in, when they…
Read More » -
Sending Django Emails [with examples]
Django Emails makes sending emails – either error messages or user sign up emails via an authentication system – is…
Read More » -
Get Django Custom Error Views Right the First Time!
Three things are infinitely complex: The Universe, Django’s crazy static file serving, and Django Custom Error Views. The infinity of…
Read More » -
From Upstart to Systemd – Switch your Django Apps
In the beginning was Init. Then came Systemd. If you’re wondering how to switch your Django apps from Init to…
Read More »