django-planet

What's new in Django community blogs?

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

Contributing to Django - David Smith

Aug. 4, 2021 » Django Chat » [Archived Version]

David is an accountant who has contributed massively to Django in recent years, taking over django-crispy-forms, improving djangobench, and becoming a member of Django’s Triage and Review team.

Read More

Supporting Multiple Languages in Django

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

This tutorial looks at how to add multiple language support to your Django project.

Read More

Clean Code in Python

July 29, 2021 » TestDriven.io » [Archived Version]

This article looks at how to write clean code in Python.

Read More

Caching in Django

July 28, 2021 » TestDriven.io » [Archived Version]

This article first provides an overview of Django's caching framework and then shows how to cache a Django view using both Memcached and Redis.

Read More

Continuously Deploying Django to AWS EC2 with Docker and GitLab

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

In this tutorial, we'll look at how to configure GitLab CI to continuously deploy a Django and Docker application to AWS EC2.

Read More