django-planet

What's new in Django community blogs?

Testing Django with Cypress, how nice!

Dec. 19, 2020 » Valentino Gagliardi - Django RSS Feed » [Archived Version]

In this post I share some recipes for testing Django with Cypress, with a focus on the authentication flow.

Read More

Empty States - Building SaaS #83

Dec. 17, 2020 » Django on Matt Layman » [Archived Version]

In this episode, I returned to the onboarding flow and start to polish some of the extra pages. We filled the pages with special copy and a call to action to each page to help customers be successful. I started with the pages that displays the school years. We added a chunk of template from the onboarding process that asks the user to create a school year. I modified the template chunk to make it fit in the context of the page.

Read More

Middleware Do You Go?

Dec. 16, 2020 » Django on Matt Layman » [Archived Version]

In the previous Understand Django article, we covered the built-in auth system. That article gave you a chance to see the User model, ways to login users with Django’s authentication tools, and the features that make the authorization controls work. In that topic, middleware came up as an integral component. Now we’re going to learn more about middleware and its function within a Django project. From Browser To DjangoURLs Lead The WayViews On ViewsTemplates For User InterfacesUser I…

Read More

Django Session-based Auth for Single Page Apps

Dec. 14, 2020 » TestDriven.io » [Archived Version]

This article looks at how to add session-based authentication to a Single-Page Application (SPA) powered by Django and React.

Read More

Customer Feedback - Building SaaS #82

Dec. 10, 2020 » Django on Matt Layman » [Archived Version]

In this episode, I worked on feedback from my primary customer. We fixed a couple of issues that she reported, then moved on to more of the onboarding flow. Before getting to the code, we chatted about ways to learn to code. I linked to a popular book, Automate the Boring Stuff with Python, and some good web tutorials for learning Django. The first bit of customer feedback that I worked on was to add a back link from a course details to get a user back to the grade level that holds the course.

Read More

Jazzband - Matthias Kestenholz

Dec. 9, 2020 » Django Chat » [Archived Version]

Matthias is a longtime Django contributor and member of Jazzband, which manages many 3rd party packages including django-debug-toolbar. He’s also the creator of feincms and founder of the company Feinheit.

Read More

Maps with Django⁽¹⁾: GeoDjango, SpatiaLite & Leaflet

Dec. 7, 2020 » Paolo Melchiorre » [Archived Version]

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

Read More

A Vue.js workflow for Django

Dec. 7, 2020 » Valentino Gagliardi - Django RSS Feed » [Archived Version]

A Vue.js workflow for Django which I found out working well for most use cases.

Read More

How To Set Up Tailwind CSS In Django On Heroku

Dec. 6, 2020 » Django on Matt Layman » [Archived Version]

How can you set up Tailwind CSS for your Django app on Heroku? In this article, we’ll see how I did exactly that recently. I have a side project that uses Tailwind CSS. To get started quickly, I used the version from a Content Delivery Network (CDN) as Tailwind describes in the documentation. This worked fine initially while I got my project started, but the CDN version is huge (around 3MB).

Read More

Finishing Onboarding - Building SaaS #81

Dec. 3, 2020 » Django on Matt Layman » [Archived Version]

In this episode, I completed the last form that completes the last step on my Django app’s onboarding process. We built up the view, wrote the tests, and worked through the templates changes. I started with a discussion of what the onboarding flow does and what was left. I needed to make a form that creates a task for a course. For the first chunk of code, we added some tests to cover all the scenarios that are important for the view.

Read More