Setting up a Django super user may be a requirement in your test setup code. The commands used to create users are interactive by default and unfortunately do not allow you to pass in the user’s password as an argument or a flag on the command line. This is a security measure, but it isn’t
Continue reading How to automate creating a Django super user
Tag: python
Encryption using Python and AWS
In this post I’ll show you how to encrypt and decrypt strings using the AWS Encryption SDK and AWS KMS. Step 1: Install the AWS SDK for Python and the Encryption SDK You’ll need boto3 to create a Master Key programmatically and the aws-encryption-sdk for encrypting and decrypting data. Step 2: Add AWS credentials to
Continue reading Encryption using Python and AWS
Setting up Django for Deployment: Nginx

This post explains how to install and setup nginx as a reverse proxy to gunicorn and web server to serve static files in Django.
Django Templates
A brief introduction into the Django Template Language.
PyPI In a box: Using a Raspberry Pi as a portable PyPI server

We all use PyPI – here’s a way to ensure we always have access.
Bulawayo Python Meetup
Summary of the recent Python Bulawayo Meetup
Python: Get password from terminal without echoing
This is a short article about how to get a password from the terminal without echoing it back to the user as they type.
Working with the requests library
The requests library is one of the most popular Python libraries available. In this article, you’ll learn how to use requests to fetch resources from the web and also to interact with websites.
Interview With Ewa Jodlowska, PSF Executive Director

An interview with Ewa Jodlowska, Executive Director of the Python Software Foundation. We talk about the PSF, insights from the Python Developer Survey and more.
Custom template tags in Django

Learn how you can extend the Django template engine by defining custom template tags using Python, and then make them available to your templates using the {% load %} tag.