django-planet

What's new in Django community blogs?

How to implement a “dry run mode” for data imports in Django

Oct. 12, 2022 » Adam Johnson » [Archived Version]

In data import processes it’s often useful to have a “dry run” mode, that runs through the process but doesn’t actually save the data. This can allow you to check for validity and gather statistics, such as how many records already exist in the database. In this post …

Read More

How to implement a “dry run mode” for data imports in Django

Oct. 12, 2022 » Adam Johnson » [Archived Version]

In data import processes it’s often useful to have a “dry run” mode, that runs through the process but doesn’t actually save the data. This can allow you to check for validity and gather statistics, such as how many records already exist in the database. In this post …

Read More

Dockerizing Flask with Postgres, Gunicorn, and Nginx

Oct. 12, 2022 » TestDriven.io » [Archived Version]

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

Read More

Django Unicorn - Adam Hill

Oct. 12, 2022 » Django Chat » [Archived Version]

Adam is a software engineer at The Motley Fool and the author of multiple open source packages including Django Unicorn, Coltrane, and minestrone. We discuss his approach to writing software, the perfect settings file set up, and more.

Read More

Deploying a Django App to Dokku on a DigitalOcean Droplet

Oct. 10, 2022 » TestDriven.io » [Archived Version]

This tutorial looks at how to deploy a Django application to Dokku on a DigitalOcean droplet.

Read More

Heroku Stack Upgrade - Building SaaS with Python and Django #147

Oct. 6, 2022 » Django on Matt Layman » [Archived Version]

In this episode, I did some upgrades. We upgraded the app to the latest Heroku stack, upgraded htmx to the latest version, then worked on a small feature to add an empty state to a page when there is no useful data to display.

Read More

Job Queues and Workers in Django

Oct. 6, 2022 » Honeybadger Developer Blog (Django Articles) » [Archived Version]

Job queues are a powerful tool for processing background work in your Django applications. This article teaches about job queues and workers—and how to implement them with Django Q and Celery.

Read More

Heroku Stack Upgrade - Building SaaS #147

Oct. 6, 2022 » Django on Matt Layman » [Archived Version]

In this episode, I did some upgrades. We upgraded the app to the latest Heroku stack, upgraded htmx to the latest version, then worked on a small feature to add an empty state to a page when there is no useful data to display.

Read More

How to Safely Pass Data to JavaScript in a Django Template

Oct. 5, 2022 » Adam Johnson » [Archived Version]

You want to pass your data from your Django view to JavaScript, in your template. And, you want to do it securely, with no risk of accidentally allowing malicious code injection. Great, this is the post for you! We’re going to look at the problems with templating JavaScript, then …

Read More

How to Safely Pass Data to JavaScript in a Django Template

Oct. 5, 2022 » Adam Johnson » [Archived Version]

You want to pass your data from your Django view to JavaScript, in your template. And, you want to do it securely, with no risk of accidentally allowing malicious code injection. Great, this is the post for you! We’re going to look at the problems with templating JavaScript, then …

Read More