django-planet

What's new in Django community blogs?

Using webpack with Django: it's not easy as you think

May 3, 2020 » Valentino Gagliardi - Django RSS Feed » [Archived Version]

Most approaches to using webpack with Django work until the JavaScript app is tiny. What happens when the bundle grows?

Read More

Optimizing Django ORM Queries

May 3, 2020 » django on roschegel » [Archived Version]

The Django ORM (Object Relational Mapping) is one of the most powerful features of Django. It enables us to interact with the database using Python code instead of SQL. It has multiple advantages: The database engine is abstracted from us, so it is possible to switch to another database system with ease. It supports migrations: we can easily change our tables by updating our models and Django will automatically generate the migration scripts needed to update the database tables. It supports tr…

Read More

User Testing Feedback - Building SaaS #54

April 30, 2020 » Django on Matt Layman » [Archived Version]

In this episode, we worked on issues found from a round of user testing. I talked about how I did user testing with my customer, then started to tackle the usability issues that she identified. We’re taking a break from building the onboarding flow so that we can take some time to address feedback from user testing with my customer. I started the stream by explaining how I set up user testing and what I got out of the experience.

Read More

Practices of the Python Pro - Dane Hillard

April 29, 2020 » Django Chat » [Archived Version]

Dane is the author of a new book, Practices of the Python Pro. We discuss using Django at scale, pytest, and teaching beginners.

Read More

Working with request.data in Django REST framework

April 28, 2020 » Valentino Gagliardi - Django RSS Feed » [Archived Version]

Django REST generic views are amazing, but working with request.data in Django REST framework can be tricky ...

Read More

Upgrade PostgreSQL from 11 to 12 on Ubuntu 20.04

April 23, 2020 » Paolo Melchiorre » [Archived Version]

Howto guide for upgrading PostgreSQL from version 11 to 12 on Ubuntu, after its upgrade from version 19.10 to 20.04 (Focal Fossa).

Read More

More Onboarding Goodness - Building SaaS #53

April 23, 2020 » Django on Matt Layman » [Archived Version]

In this episode, we continued with onboarding. I added unit tests for the new form and explained how foreign keys are wired through in CreateView. Then we marched on to the next template in the flow. In the last stream, we set all the context data for the view that shows the form to create a grade level for the school. With the context in place, and the form structure set, I added the form class that will create the GradeLevel record.

Read More

Advanced Deployment - Katie McLaughlin

April 22, 2020 » Django Chat » [Archived Version]

Katie is a Developer Advocate for Google and regular conference speaker. We discuss advanced deployment techniques and tools such as Google Cloud Run, relational vs non-relational databases, Terraform, and more.

Read More

Delete all your Google Calendar passed events

April 20, 2020 » Thomas Loiret - Random thoughts » [Archived Version]

Script that helps you to delete your Google Calendar passed events.

Read More

Consistent Onboarding - Building SaaS #52

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

In this episode, we glued together some of the onboarding steps. I added data validation so that future steps depend on data existing from previous steps. Then we added page messaging to direct users to a proper page. We reviewed the way that the form validates certain data from the form submission so that data is kept safe between users. I showed how I switched from the model and fields attributes of CreateView to a form_class containing the form that does the necessary validation.

Read More