March 16, 2020 » James Bennett » [Archived Version]
This post now has a followup. Recently I’ve seen posts and questions pop up in a few places about a sort of “enterprise” Django style guide that’s been getting attention. There are a number of things I disagree with in that guide, but the big one, and the one people have mostly been asking about, is the recommendation to add a “service layer” to Django applications. The short version of my opinion on this … Read full entry
Read MoreMarch 16, 2020 » James Bennett » [Archived Version]
This post now has a followup. Recently I’ve seen posts and questions pop up in a few places about a sort of “enterprise” Django style guide that’s been getting attention. There are a number of things I disagree with in that guide, but the big one, and the one people have mostly been asking about, is the recommendation to add a “service layer” to Django applications. The short version of my opinion on this … Read full entry
Read MoreMarch 13, 2020 » Valentino Gagliardi - Django RSS Feed » [Archived Version]
A re-introduction to one of the most common database relationship: understanding many-to-one.
Read MoreMarch 13, 2020 » django on Jacob Kaplan-Moss » [Archived Version]
Starting today, Django has a new governance model. Previously, a small “core team” made most decisions, including electing a Technical Board to own decisions about each release. Now, the “core team” is gone; all power rests with the Technical Board. Anyone who’s made substantial contributions to Django is now eligible to run, and the board is now elected by the DSF Membership at large. You can read more about the change in today’s announcement, and if you wan…
Read MoreMarch 11, 2020 » Django Chat » [Archived Version]
We discuss the multiple ways to architect APIs with Django REST Framework, including focus on authentication, front-end frameworks, and performance.
Read MoreMarch 6, 2020 » Django on Matt Layman » [Archived Version]
On this episode, we look at views, a major component within Django and a primary place where your code will run. Listen at djangoriffs.com. Last Episode On the previous episode, we talked about URLs and how they describe the main interface that a browser can use to interact with your application. What Is A View? A view is a chunk of code that receives an HTTP request and returns an HTTP response.
Read MoreMarch 4, 2020 » Django Chat » [Archived Version]
We discuss the best current Django resources and how to find a Django mentor.
Read MoreMarch 4, 2020 » Django on Matt Layman » [Archived Version]
In this episode, I added styling to the Sign Up page of the site. We chatted about CSS tools and frameworks, the benefit of feature flags to control what UI is displayed to users, and how to use Tailwind CSS to modify a design quickly. In the first portion of the stream, we focused on CSS frameworks. We compared Bootstrap, Semantic UI, and Tailwind CSS. After that discussion, I talked about feature flags.
Read MoreMarch 3, 2020 » Django on Matt Layman » [Archived Version]
In the previous Understand Django article, I covered URLs and the variety of tools that Django gives us to describe the outside interface to the internet for your project. In this article, we’ll examine the core building block that makes those URLs work: the Django view. From Browser To DjangoURLs Lead The WayViews On ViewsTemplates For User InterfacesUser Interaction With FormsStore Data With ModelsAdminister All The ThingsAnatomy Of An ApplicationUser AuthenticationMiddleware Do You Go?
Read MoreFeb. 28, 2020 » Luke Plant » [Archived Version]
How to implement the classic double-checked locking pattern with Django ORM/PostgreSQL.
Read More