What's new in Django community blogs?

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

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

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

Episode 14 - Going Live

July 19, 2021 » Django on Matt Layman » [Archived Version]

On this episode, we will look at what it takes to go live and how to prepare your Django project for the internet. Listen at djangoriffs.com or with the player below. Last Episode On the last episode, we discussed how you can verify that your site works and continues to work. We dug into automated testing and how to write tests for your Django apps. Pick A Python Application Server When you begin to learn Django, the documentation will instruct you to use .

Read More

Maps with Django⁽²⁾: GeoDjango, PostGIS & Leaflet

July 18, 2021 » Paolo Melchiorre » [Archived Version]

A quickstart guide to create a web map with the Python-based web framework Django using its module GeoDjango, the PostgreSQL database with its spatial extension PostGIS and Leaflet, a JavaScript library for interactive maps.

Read More

Changing choices to a ForeignKey using Django migrations

July 15, 2021 » /var/ - django » [Archived Version]

How to convert a choices field to a ForeignKey using Django migrations

Read More