DjangoCon Africa 2023
My experience at DjangoCon Africa 2023.
DjangoCon Africa 2023 Read More »
The article explains the steps for deploying a Django + Nginx application on an AWS Lightsail Virtual Private Server (VPS) with Docker and Ansible automation. This article will guide you through setting up a VPS instance, domain linking, server configuration with Ansible, securing the server, setting up SSL/TLS certificates, and finally, deploying the application. As part of the process, you’ll see how to run setup and deployment playbooks on a server, culminating in a live Django + Nginx project with HTTPS functionality.
Deploying a Django + Nginx application to a VPS with ansible Read More »
Setting up a Django super user may be a requirement in your test setup code. The commands used to create
How to automate creating a Django super user Read More »
This post explains how to install and setup nginx as a reverse proxy to gunicorn and web server to serve static files in Django.
Setting up Django for Deployment: Nginx Read More »
Web Servers like Apache or NGINX are great for handling HTTP requests. Unfortunately,they typically cannot communicate with Python applications directly. That is where gunicorn comes in.
Learn how to install, configure and run gunicorn with Django in this article.
Setting up Django for Deployment: Gunicorn Read More »
In this post, I cover a couple of ways to flatten lists of lists or lists of mixed data in standard Python and 3rd party libraries such as Django, Pandas and Matplotlib.
How to flatten a list of lists in Python Read More »
Authenticating with Django REST APIs using HTTP Client
How to use Postman to authenticate to Django Rest Framework Read More »
Have you ever wondered if it is possible to connect Django to more than one database at a time? Read this post to find out how.
How to use Django with multiple databases Read More »
How to add CORS headers to a Django Application
How to add CORS Headers to Django responses Read More »