django-planet

What's new in Django community blogs?

Understanding async Python for the web

Aug. 16, 2022 » James Bennett » [Archived Version]

Recently Django 4.1 was released, and the thing most people seem interested in is the expanded async support. Meanwhile, for the last couple years the Python web ecosystem as a whole has been seeing new frameworks pop up which are fully async, or support going fully async, from the start. But this raises a lot of questions, like: just what is “async” Python? Why do people care about it so much? And is it really … Read full entry

Read More

Understanding async Python for the web

Aug. 16, 2022 » James Bennett » [Archived Version]

Recently Django 4.1 was released, and the thing most people seem interested in is the expanded async support. Meanwhile, for the last couple years the Python web ecosystem as a whole has been seeing new frameworks pop up which are fully async, or support going fully async, from the start. But this raises a lot of questions, like: just what is “async” Python? Why do people care about it so much? And is it really … Read full entry

Read More

Integrating Mailchimp with Django

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

This article looks at how to integrate Mailchimp with Django for newsletters and transactional emails.

Read More

Django 4.1 Preview - Jeff Triplett (Ep 115 Replay)

Aug. 3, 2022 » Django Chat » [Archived Version]

Django 4.1 was released today! This discussion from May covers what's new in 4.1 and the work of Jeff Triplett who is the maintainer of djangopackages.org, a partner at RevSys, Python Software Foundation Director, and DjangoCon organizer.

Read More

Class-based vs Function-based Views in Django

Aug. 1, 2022 » TestDriven.io » [Archived Version]

This article looks at the differences between Django's class-based views (CBV) and function-based views (FBV).

Read More

Announcing django-denied

Aug. 1, 2022 » Django on Matt Layman » [Archived Version]

I have paranoia when it comes to my Django app. I run a homeschool scheduling service called School Desk. My Software as a Service (SaaS) lets families plan their homeschool activities. Since the app deals with data about students (including my kids!), it’s important to me that every user’s data is protected, so that users can only view their own information. When I designed the system, I picked a shared Postgres schema (i.

Read More

Caching pre-commit with GitHub Actions

July 30, 2022 » Tobias McNulty » [Archived Version]

When setting up a GitHub Actions workflow for the repo that deploys this site, I noticed the pre-commit action for GitHub Actions is deprecated, and also doesn’t cache the installation of pre-commit itself. As a workaround, you can easily use the package dependency caching in actions/setup-python to cache the pre-commit installation and a custom actions/cache to cache the pre-commit cache itself (~/.cache/pre-commit/). First, update or create requirements.txt with the current version of p…

Read More

Extract a New Open Source Package - Building SaaS with Python and Django #140

July 28, 2022 » Django on Matt Layman » [Archived Version]

In this episode, I pulled out code from homeschool application and started a new open source project for a portion that I thought would be useful for others. The new package, which I have called django-denied, is a way of handling authorization in your Django apps.

Read More

Extract a New Open Source Package - Building SaaS #140

July 28, 2022 » Django on Matt Layman » [Archived Version]

In this episode, I pulled out code from homeschool application and started a new open source project for a portion that I thought would be useful for others. The new package, which I have called django-denied, is a way of handling authorization in your Django apps.

Read More