Articles by Topic
Securely Update Kubernetes Secrets with Manual GitHub Workflows
A Step-by-Step Guide to Managing Environment Variables in DigitalOcean Kubernetes Using workflow_dispatch
Front-End Practice: Javascript Calculator
Weekend fun with Javascript, CSS & HTML building a functional calculator.
Support for Pre-Django 4.2 Storage Configuration Removed In Django 5.1
Support for the file/media and static file storage configurations has been removed forcing adoption of the new STORAGES dictionary in settings.py.
Add Form To Django Formset Dynamically With JavaScript
Use JavaScript to dynamically add forms to a Django Formset on the client side by copying an existing form, updating the necessary values and attributes, and appending the copied form to the formset. Additionally, this article will explore basic error handling for a couple of pitfalls we may encounter as well as how we can extend the functionality with a callback function allowing us to reuse the abstraction throughout our project.
Efficient URL Management In Django
A centralized approach to URL management in Django for frequently referenced URL patterns.
Default Avatars With User Initials
Simple default avatars displaying the logged-in user's initials for use as a fallback when a profile picture isn't set.
Simple Callout Boxes For Info, TLDR, And So On
Instructions and discussion on building simple, styled callout boxes to add context to article content and containing javascript functionality to add icons to the start of the element.
Display Accounting Journal Entries with HTML, CSS, And Javascript
Here's an easy way to cleanly display an accounting journal entry as an HTML table with a little bit of style and javascript behavior.
How To Test A Domain Locally
This article explores how to test your Django application using a domain rather than "localhost." Additionally, we'll look at a DNS cacheing issue you're likely to encounter and what to do about it.
How To Authenticate Your Google Service Account In Python Using Environment Variables
Securely store your Google service account credentials with environment variables and use python to authenticate with Google services.
How to Handle Multiple Domains in Django with the Sites Framework
How to use the Django Sites framework in combination with custom middleware for supporting multiple domains pointing to discrete locations with a single Django application.
Considerations for Updating Time Zones in Django
Additional steps to consider when configuring time zones in your Django project for optimal user experience.
How to Use Time Zones with Django
A discussion on how to set up your Django project to handle timezones.
Content Components to Consider When Designing a Blog
What types of content structure to consider, how to break it apart and considerations on indexing content.
How Do You Embed Images in a Django Blog From a WYSIWYG Editor?
How to add images to you blog pages using a WYSIWYG editor widget in a blog built with Django.
Generative AI and the Authenticity Crisis
A speculation of the threat tools like generative AI pose to the human experience and our deliberate march towards redundancy.
Adding a Limited User to Dockerfile Upends My Kubernetes Deployment
Adding a limited user to Dockerfile without considering downstream affects causing unanticipated problems requiring debugging that could have been avoided.
Trivial Mistakes I Made With Docker Compose This Week
Wasting time chasing complex solutions for simple mistakes in Docker, Docker Compose, & Kubernetes.
Template Tests for Django TemplateView Requiring Staff Permissions
A mixin to be used with testing Django TemplateView class-based views that require staff privileges and certain permissions.
How to Test a Django TemplateView Requiring Staff Permissions
A collection of tests useful in determining whether a TemplateView is structured as expected and whether the view demands the expected permissions.
Template Tests for Django TemplateView
A mixin to be used with testing Django TemplateView class-based views to reduce writing redundant test cases.
How to Test a Django TemplateView
An overview of tests you should consider for your Django TemplateView class view.
Fixing SQL ID Sequences in Postgres
How to reset the id or primary key for a particular table in a Postgres database when the sequence is throw off.
Test Logging in Django
An easy way to test Django logging to ensure your logs are being created as expected.
Flatpages In Django Part 2: Extending Flatpages
How to extend the Django flatpages app including a custom view to handle lookups by ID instead of URL.