django-planet

What's new in Django community blogs?

Django REST Framework and Elasticsearch

Aug. 31, 2021 » TestDriven.io » [Archived Version]

This tutorial looks at how to integrate Django REST Framework with Elasticsearch.

Read More

Deploying Django to AWS with Docker and Let's Encrypt

Aug. 27, 2021 » TestDriven.io » [Archived Version]

In this tutorial, we'll deploy a Django app to AWS EC2 with Docker and Let's Encrypt.

Read More

Securing a Containerized Django Application with Let's Encrypt

Aug. 27, 2021 » TestDriven.io » [Archived Version]

In this tutorial, we'll look at how to secure a containerized Django app running behind an HTTPS Nginx proxy with Let's Encrypt SSL certificates.

Read More

Dockerizing Django with Postgres, Gunicorn, and Nginx

Aug. 27, 2021 » TestDriven.io » [Archived Version]

This tutorial details how to configure Django to run on Docker along with Postgres, Nginx, and Gunicorn.

Read More

Low-Level Cache API in Django

Aug. 26, 2021 » TestDriven.io » [Archived Version]

This article looks at how to use the low-level cache API in Django.

Read More

A Django PAGNI: efficient bulk properties

Aug. 25, 2021 » Luke Plant » [Archived Version]

When using Django database models and adding a calculated property of some kind, you should probably ensure it will be efficient in bulk even if that isn’t needed yet.

Read More

Token Authentication for django-rest-framework

Aug. 25, 2021 » /var/ - django » [Archived Version]

How to authenticate django-rest-framework with tokens

Read More

Working with AJAX in Django

Aug. 24, 2021 » TestDriven.io » [Archived Version]

This article looks at how to perform GET, POST, PUT, and DELETE AJAX requests in Django with the Fetch API and jQuery.

Read More

Common Pitfalls Using Django Signals

Aug. 20, 2021 » Instawork Engineering » [Archived Version]

There can be some strong opinions on the built-in signals available in Django and whether or not they should be used, but we’ll skip that here and instead focus on some basics of how best to use them and avoid some common pitfalls.For the uninitiated, signals are synchronously (this will be important later) firing events that trigger handlers. There are a few common built in ones, we’ll be discussing post_save and pre_save signals that are triggered whenever a Django model is saved.Infinite Loo…

Read More

Deploying and Hosting a Machine Learning Model with FastAPI and Heroku

Aug. 13, 2021 » TestDriven.io » [Archived Version]

This tutorial looks at how to deploy a machine learning model, for predicting stock prices, into production on Heroku as a RESTful API using FastAPI.

Read More