How to work with Django Celery tasks, avoid typical pitfalls while working with background tasks, use locking to avoid simultaneous processing of the same data.
Learn how to easily deploy a Django Project to Digital Ocean Droplet, setup environment variables, Add databases and have SSL certificate issued.
How to deploy a Django project on AWS EC2 instance. Article show how to connect GIT repository, add database and deploy your app
How to create a Google Cloud (GCP) VM and deploy a Django project, create a database and access the site via HTTPS.
How to deploy a Django application to a Azure VM, setup database and see server stats.
How to deploy a Django application to a Linode server, setup database and see server stats.
How to deploy your Django app with Postgres Database on a Lightsail server.
How to create a server in Hetzner Cloud and deploy your Django application.
Learn how to create a new Next.js application and deploy it on AWS EC2 instance or Digital Ocean droplet.
Learn how to create a FastAPI app with PostgreSQL and deploy it on an AWS EC2 Instance.
How to create a Flask application with a POST endpoint, create a server on AWS, Digital Ocean and Hetzner and deploy your Flask app.
Step-by-step instructions on setting up an Nginx web server for a Django application on a fresh Ubuntu 20.04 LTS server. Setting up the server environment, creating a Django project, running it with gunicorn, creating a Let's Encrypt certificate, and setting up Nginx as a reverse proxy.
Step-by-step tutorial on how to create a Wagtail project and deploy it on AWS EC2 and Digital Ocean Droplet.
Learn how to customize Django admin interface: forms, theme, make it more secure by changing the URL and make it more powerful and convenient
Learn how to use the `createsuperuser` management command in Django to create a superuser, either through prompts or by providing specific arguments.
How to create AWS S3 bucket, setup CloudFront CDN and setup Django 4.2 to upload files to S3
Looking for an alternative to Heroku for hosting Django apps? With Appliku's affordable pricing starting at $10/mo and Hetzner's competitive rates, you can save up to $1476/year while enjoying a powerful and customizable infrastructure that scales with your needs.
A simple guide upgrading Ubuntu 18.04 LTS to Ubuntu 20.04 LTS
How to create a bucket and generate credentials that only have write access to a single bucket.
The concept of Docker and Docker Compose, the benefits of using them to containerize a Django application, and provides a tutorial on how to set up a Django project in a Docker container using Docker Compose.
Why use OpenAPI and how to add it to a Django REST API project. Differences between Swagger and OpenAPI, and the benefits of using OpenAPI. Instructions on installing and setting up drf-spectacular, a package that generates OpenAPI documentation. How to. access the OpenAPI Swagger and redoc interfaces.
This tutorial explains what RESTful API is and why it's used, followed by a step-by-step guide on how to build a REST API using Django. It covers creating a new Django project, defining models for a TODO app, using REST framework serializers and CRUD views, setting up a Django REST framework router and URLs, and testing the API.
This article covers how to prioritise tasks processing depending on user tier. The described approach uses Celery as an example, but can be replicated with any other background task processing tooling.
Overview of free Django hosting offerings: AWS, Vultr, Google Cloud Platform. Deploy your first Django project for free on any of these Virtual Cloud Server Providers.
The best frontend framework to use with Django, including options such as jQuery, AlpineJS, React, and NextJS. Pros and cons of each framework and recommendations on how to deploy them separately when scaling the team or project.
Web servers for Django application. Comparing popular Nginx server and newer, but promising Caddy server. Discussing pros and cons. In addition, examples of virtual host configuration for both Caddy and Nginx.
Django and Express.js are both popular frameworks for building web applications, with different strengths and weaknesses. Django is great for complex web apps with advanced features, while Express.js is best for real-time applications.
How to rate limit execution of Celery tasks in a reliable way. Throttle calls to 3rd party API via Celery Tasks.
Deep dive into differences between Celery Groups and Chords. In this tutorial, you will see when callbacks are called for groups and chords, how the hard-fail chord behaves to see celery chord error callback. You will also see how tasks retry inside groups and chords.
Send Django application logs to Centralized CloudWatch. This enables you to have a better view of logs, search and filter logs. Every container gets its own log stream.
shared_task is a decorator that makes a function – a celery task. Its primary purpose is for library developers because it doesn't require Celery App instance, but it is convenient for everyone. See params and examples of how to use it.
Flower is the monitoring and administration tool for Celery. Learn how to setup in local development, how to secure it with BASIC_AUTH and how to deploy it in a production/staging environment in Appliku
There are two ways to bulk update your Django model instances depending on the requirements. One is to save multiple objects using .bulk_update() and another is to use QuerySet.update() method.
If you have a lot of objects to save in database you may want to create them using .bulk_create method to make it faster. This will ignore pre and post save signals.
How to work with multiple queues in Celery, why you need it and how to set it up. Tutorial includes file processing and DNS lookups for domains of email addresses. Also, docker-compose.yml is covered for local development.
Learn how to use the Celery task to generate data for a Django view that is taking too long to respond.
Learn how to create a chat application with Django channels and deploy it in production without learning about DevOps!
How to implement JWT Authentication with Django REST Framework, add logout views and invalidate all tokens for the current user.
Database is the main auxiliary service needed for running your Django Project. How to create AWS RDS Postgres Database and connect to Django.
How to use DataTable ServerSide with Django REST Framework. How to display and filter a large dataset using ServerSide mode and achieve great performance.
How to send email from Django Project via AWS SES, set up tracking of bounces and complaints, and filter bad email addresses to protect email deliverability.
Learn how to create Express.js application with an endpoint that stores records in PostgreSQL database and deploy it on AWS EC2 Instance and Digital Ocean Droplet