Oct. 2, 2020 » Valentino Gagliardi - Django RSS Feed » [Archived Version]
Notes on deploying Django > 3.1 (async) with Uvicorn under Nginx as a reverse proxy.
Read MoreOct. 1, 2020 » Django on Matt Layman » [Archived Version]
In this episode, I integrated the bandit static analysis tool to do automated security checking of my code before each commit. We talked about pre-commit and how to add in a new hook. After finishing that tool addition, we got deep into Django while removing some messages inserted by django-allauth on sign up. We began by talking about what the bandit tool does and how it works. Once I explained bandit, I focused on the bandit documentation to see how to add the tool.
Read MoreSept. 30, 2020 » Django Chat » [Archived Version]
Michael Kennedy is the creator of the Talk Python podcast, courses, and a new series from Manning. He joins us to discuss how Python has become a "full spectrum" language, how Python 3.5 changed everything, and where Django fits into the larger Python community.
Read MoreSept. 29, 2020 » Django on Matt Layman » [Archived Version]
In the previous Understand Django article, we got deep into the Django administrators site. We saw what the site was and how to configure and customize it. In this article, we will examine what goes into an application. Applications are core elements of a Django project. 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 MoreSept. 24, 2020 » Django on Matt Layman » [Archived Version]
In this episode, we worked on a new view to display course resources. While building out the template, I used some template tags to dynamically regroup a queryset into a more useful data format for rendering. I started a new view before the stream to display content, but I had not filled it in before the stream started. We added new data to the context, and did some adjustments to the URL based on the required inputs for the view.
Read MoreSept. 17, 2020 » Paolo Melchiorre » [Archived Version]
DjangoCon Europe is an international conference for the community by the community about the Django web framework, held each year in Europe.
Read MoreSept. 16, 2020 » Django Chat » [Archived Version]
We’re back after a few weeks away! We discuss the Django Community Survey results, virtual conferences taking place, upcoming Django Technical Board vote, and more.
Read MoreSept. 15, 2020 » Django on Matt Layman » [Archived Version]
My team had two weeks to make a viable product. We were a random group of people pulled together with a desire to help our local community in Frederick, Maryland. We were a student, a web designer, a former realtor turned IT support person, and a software developer. Our mission, which was put forth by the virtual hackathon that brought us together, was to try to make a tool to help the local homeless.
Read MoreSept. 11, 2020 » django on Jacob Kaplan-Moss » [Archived Version]
Denial-of-Service (DoS) vulnerabilities are common, but teams frequently disagree on how to treat them. The risk can be difficult to analyze: I’ve seen development teams argue for weeks over how to handle a DoS vector. This article tries to cut through those arguments. It provides a framework for engineering and application security teams to think about denial-of-service risk, breaks down DoS vulnerabilities into high-, medium-, and low-risk classes, and has recommendations for mitigations at e…
Read MoreSept. 10, 2020 » Django on Matt Layman » [Archived Version]
In this episode, I worked to add breaks to the display of the week schedule. We had to update context to include the break information into the schedules. I refactored a method out of the calendar display code to make some reusable logic for handling breaks. The app needs to display breaks on the schedule and adjust what is displayed based on when the breaks are. I started with changing the background color of the break days.
Read More