Django News #12 - Tips on testing, templates, and Django within healthcare
Tags: django, python
Published: 2020-03-03 18:44:18

---
title: Django News #12 - Tips on testing, templates, and Django within healthcare
published: true
date: 2020-02-28 13:00:00 UTC
tags: django, python
canonical_url: https://django-news.com/issues/12
---

### News

#### [Python Insider: Python 3.8.2 and 3.9.0a4 are now available](https://cur.at/Loc1ouY?m=rss)

Python 3.8.2 contains numerous new bug fixes while 3.9.0a4 is the fourth of six planned alpha releases leading up to its planned release in August.

----

#### [Sponsor Django on Github](https://cur.at/UJ6JU4Q?m=rss)

Django relies on community donations and now you can fund it directly via Github. Currently 40+ monthly sponsors.

----

### Articles

#### [Django Best Practices - Template Structure](https://cur.at/4MNb2Mj?m=rss)

A look at the two dominant ways to structure templates in a Django app.

----

#### [The Ultimate Guide to Django Redirects – Real Python](https://cur.at/PpgUVJU?m=rss)

An in-depth look at HTTP redirects and multiple ways to implement them in Django.

----

#### [Automating Performance Testing in Django](https://cur.at/m02lzMU?m=rss)

A guide to spotting N+1 query issues in your Django app.

----

### Sponsored Link
[![](https://dxj7eshgz03ln.cloudfront.net/production/link/image/526392/original_ratio_medium_33b3b035-3cd4-4524-973d-ca1689a492dd.png "Django Crash Course: Covers Python 3.8 and Django 3.x - Alpha Version")](https://cur.at/lK6c246?m=rss)
#### [Django Crash Course: Covers Python 3.8 and Django 3.x - Alpha Version](https://cur.at/lK6c246?m=rss)

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. Now in beta, the book is being updated several days a week!.

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

[roygreenfeld.com](https://cur.at/lK6c246?m=rss)

----

### Videos

#### [Django and DRF Testing Series](https://cur.at/PW1te0u?m=rss)

A 10-part series on testing Django and Django Rest Framework.

{% youtube KIIdbVs7e8I %}

----

#### [PyCon 2017 - Let's Build a Web Framework](https://cur.at/cqBQGGU?m=rss)

Django co-creator Jacob Kaplan-Moss walks through building a web framework from scratch, and the core decisions necessary along the way.

----

### Podcasts

#### [Django Chat - Healthcare with Jacinda Shelly](https://cur.at/wwtkpW0?m=rss)

Jacinda is the co-founder of Apero Health and formerly CTO of DoctorOnDemand. The discussion covers lessons learned building both platforms from scratch and how to scale code and teams.

----

### Tutorials

#### [Safely Including Data for JavaScript in a Django Template](https://cur.at/Ya73gkx?m=rss)

Pro tips from core contributor Adam Johnson on how to properly use JavaScript in Django templates.

----

#### [Getting Started Testing: pytest edition](https://cur.at/tiujQ7j?m=rss)

[Ned Batchelder](https://cur.at/kBqBg7X?m=rss), author of the popular [coverage.py](https://cur.at/rvEBc1Y?m=rss) package, gave an updated version of his classic talk on Python testing at the most recent Boston Python meetup.

----

### Projects

#### [nplusone](https://cur.at/9o6uBCM?m=rss)

Auto-detecting the n+1 queries problem in Python

{% github jmcarp/nplusone %}

----

#### [django-money](https://cur.at/AkML9ww?m=rss)

Proper handling of money/currency is surprisingly challenging. This package adds money fields for Django forms and models.

{% github django-money/django-money %}

----

#### [django\_coverage\_plugin](https://cur.at/oT1SRQU?m=rss)

Also from Ned Batchelder, the creator of the coverage package, a plugin for adding coverage.py to measure Django template execution.

{% github nedbat/django_coverage_plugin %}