Django News - Issue 11
Tags: python, django
Published: 2020-02-25 15:19:20

---
title: Django News - Issue 11
published: true
date: 2020-02-21 14:46:43 UTC
tags: python, django
canonical_url: https://django-news.com/issues/11
---

### News

#### [Wagtail 2.8 is released!](https://cur.at/meBHSmQ?m=dev.to)

In case you missed it, Wagtail 2.8 was released and adds Django 3.0 support while dropping Django 2.0 support plus a bunch of new features and bugfixes.

----

#### [🚨 Docker/Postgres now requires a username & password](https://cur.at/ojFFLS5?m=dev.to)

In the latest version of Docker, Postgres now requires either a username & password to be set, or use another setting to allow non-pw access. _This affects all Postgres versions for Docker._

This is better for security, but frustrating that Docker made such a major change in this quiet way. It breaks many existing builds.

----

### Articles

#### [How to cheat at unit tests with pytest and Black](https://cur.at/invoRbF?m=dev.to)

From Django co-creator Simon Willison, a clever way to combine pytest with the Black Python formatter.

----

#### [A Tip About DRF Permissions](https://cur.at/ir9ca0R?m=dev.to)

Use permission classes and operators to simplify your Django REST Framework permissions.

----

#### [Automating Performance Testing in Django](https://cur.at/pD2WyIc?m=dev.to)

A guide to testing--and avoiding--N+1 queries.

----

#### [How to add a robots.txt file to your Django site](https://cur.at/F5xpK3O?m=dev.to)

Add a testable robots.txt file to your Django site.

----

#### [Alpine makes Python Docker builds 50× slower, and images 2× larger](https://cur.at/41Mq1Kj?m=dev.to)

Do you work with Docker? An interesting article on the alpine build many of us default to without much thought.

----

### Sponsored Link

[![](https://dxj7eshgz03ln.cloudfront.net/production/link/image/526391/original_ratio_medium_cbc2b504-56e0-4651-be98-4092fb432ede.png "Django Crash Course: Covers Python 3.8 and Django 3.x - Alpha Version")](https://cur.at/mLdTnlD?m=dev.to)

#### [Django Crash Course: Covers Python 3.8 and Django 3.x - Alpha Version](https://cur.at/mLdTnlD?m=dev.to)

The authors of Two Scoops of Django have released their latest book, the Django Crash Course. Based on their corporate training, they are offering the book for under US$20, which is a steal considering they normally charge $3000/person for in-person training. This book, currently 50 chapters long, is intended for passionate learners willing to get the latest, most cutting-edge written materials. Still in alpha, the book is being updated several days a week, with at least five more chapters to go before completion.

Available in E-Book format, the paperback, coil-bound, and hardcover versions are available for pre-order.

----

### Podcasts

#### [The Python Podcast - APIs, Sustainable Open Source and The Async Web With Tom Christie](https://cur.at/dyuEo1W?m=dev.to)

Tom is the creator of Django REST Framework, HTTPX, starlette, and many other cutting-edge Python open-source software. He talks about doing and funding the work via Encode.

----

#### [Django Chat #51 - Django Software Foundation](https://cur.at/UMkdVqG?m=dev.to)

We discuss the role of the Django Software Foundation in the larger community and how/why to become more involved.

----

### Tutorials

#### [A quick-and-dirty guide on how to install packages for Python](https://cur.at/6ZAS8ov?m=dev.to)

Covers virtual environments, activating the shell, and using the latest version of pip.