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 MoreAug. 25, 2021 » /var/ - django » [Archived Version]
How to authenticate django-rest-framework with tokens
Read MoreAug. 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 MoreAug. 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 MoreAug. 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 MoreAug. 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 MoreAug. 2, 2021 » TestDriven.io » [Archived Version]
This tutorial looks at how to add multiple language support to your Django project.
Read MoreJuly 29, 2021 » TestDriven.io » [Archived Version]
This article looks at how to write clean code in Python.
Read MoreJuly 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 MoreJuly 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