Articles by Topic
Technology
Step-by-Step Roadmap for Migrating Docker Kubernetes Projects to a New Resource Group
Optimizing containerized kubernetes application migrations while balancing speed, minimal downtime, and resource efficiency in Digital Ocean projects.
How to Migrate Data Between S3 Buckets Using RCLONE
Learn how to efficiently migrate data between S3-compatible buckets using rclone. This step-by-step guide covers installation, configuration, syncing files, and secure deletion for seamless S3-compatible storage transfers.
How to Set Up Django with Separate S3 Buckets for Media and Static Files
Learn how to optimize your Django app by configuring separate S3-compatible buckets for media and static files. Follow this step-by-step guide to set up efficient storage and leverage custom CDNs for faster asset delivery.
Managing Multiple GitHub Accounts with SSH Keys
A step-by-step guide to configuring SSH for seamless pushes to different GitHub remote repositories across accounts on macOS.
Parse and Delete Orphaned Images in Django
How to parse html content containing images and then delete any stored images not found in the content using BeautifulSoup in Django.
How Django ListView Handles Page Numbers
A look at how the Django ListView class-based view utilizes page numbers to navigate within a QuerySet containing many records..
Django Mixin to Find Any Object's Page Number in Paginated QuerySets
Build a reusable Django mixin that finds an object's page number in paginated QuerySets, ensuring users return to the correct page after performing operations on individual items.
Find An Object's Page Number Within A Django Paginated QuerySet
Efficiently find object page numbers in Django paginated views using Window functions, RowNumber expressions, and optimized database queries.
How To Resize Images On Upload in Django
Resize uploaded images during Django form validation using Pillow to prevent large files from reaching your storage system.
How to Serve Favicons in Django from Cloud Storage
Discover how to proxy serve favicons in Django from cloud storage like AWS S3, DigitalOcean Spaces, and Google Cloud Storage Buckets to mitigate CORS issues related to external storage.
How To Add A robots.txt File In Django
A discussion on how to serve a robots.txt file in a couple of different ways from a Django application.
Django Signals For Updating And Deleting Images
Django signals that delete image files when a model image field is updated or the entire record is deleted.
Considerations for Django Model Field Choices
A discussion on how to appropriately handle Django model field choices so that migrations aren't produced unnecessarily.
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.
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.
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.