django-planet

What's new in Django community blogs?

Which Django Version Should I Use?

Jan. 23, 2021 » Django on Matt Layman » [Archived Version]

Django is a big and popular web framework for Python to help you build a web app. Which Django version should you use? If you’re starting a Django web app, use the latest version of Django available. Why listen to me? I’m a software developer with over 7 years of professional Django experience. I work at companies that use Django successfully at the core of their business. I’ll explain why you should use the latest.

Read More

Customer Requests - Building SaaS #88

Jan. 21, 2021 » Django on Matt Layman » [Archived Version]

In this episode, I worked on some customer requests now that I’ve finished launching the product. These requests improved the usability of the application in a few spots that were lacking. The first request from the customer was to make it clear on the daily view when tasks are graded or not. Before I could change the template, I need to add a new method to the CourseTask to check if the task is graded.

Read More

Django Girls - Rachell Calhoun

Jan. 20, 2021 » Django Chat » [Archived Version]

Rachell is a trustee of DjangoGirls. She was previously an English teacher in Korea before learning to code with the help of DjangoGirls and has worked since 2016 as a full-stack Django developer.

Read More

Squashing Bugs - Building SaaS #87

Jan. 14, 2021 » Django on Matt Layman » [Archived Version]

In this episode, I fixed some critical issues that my customer discovered. My customer is putting the app through its real paces for a school year and since this is the first run, there were bound to be some bugs. We began with an explanation of the issues that my customer encountered. The problems related to scheduling. First, the daily page skipped a task and showed the task that was meant for two days in the future.

Read More

Episode 11 - Here, There, Middleware

Jan. 11, 2021 » Django on Matt Layman » [Archived Version]

On this episode, we will investigate Django middleware and see where it goes in your project. In the process, you’ll see why middleware is useful and how you can work with it. Listen at djangoriffs.com. Last Episode On the last episode, we’re going to look at working with users in a Django project. We’ll see Django’s tools for identifying users and checking what those users are permitted to do on your website.

Read More

Using hashids to hide ids of objects in Django

Jan. 7, 2021 » /var/ - django » [Archived Version]

How to hide the ids (primary keys) of your objects in Django using the hashids library

Read More

Testing Email Designs - Building SaaS #86

Jan. 7, 2021 » Django on Matt Layman » [Archived Version]

In this episode, I worked on the sign up confirmation email design. We customized the template and used MailHog to test the flow and see how the email appeared. After working on the email design, we switched to the landing page of the site to work on the pricing information. I started the stream by explaining that I’m working through some final tasks before launching the app more publicly. I covered why I am planning to send a sign up email and why I want to customize it.

Read More

Telemedicine - Matt Layman

Jan. 6, 2021 » Django Chat » [Archived Version]

Matt is a Software Architect at Doctor on Demand and a prolific Django educator. We talk about Django at scale, leading a large engineering team, and teaching Django to newcomers.

Read More

Serving Static Files

Jan. 6, 2021 » Django on Matt Layman » [Archived Version]

In the previous Understand Django article, I described how Django gives us tools to run code for any request using the middleware system. Our next focus will be on static files. Static files are vital to your application, but they have little to do with Python code. We’ll see what they are and what they do. From Browser To DjangoURLs Lead The WayViews On ViewsTemplates For User InterfacesUser Interaction With FormsStore Data With ModelsAdminister All The ThingsAnatomy Of An ApplicationUse…

Read More

Customer Docs - Building SaaS #85

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

In this episode, I integrated customer documentation into the app. I showed how to build Sphinx documentation into a Django project, then created a help view to link to the docs. Finally, I added documentation building to the deployment process. I previously created a Sphinx documentation project to hold docs for my app, but I had not hooked the docs into my project yet. Before hooking it in, I explained how Sphinx works and how I customized the documentation to fit with my project.

Read More