Open in app

Sign In

Write

Sign In

Adrien Van Thong
Adrien Van Thong

10 Followers

Home

About

Mar 9

Django Tricks: How to pass querysets from a View to a Form

In a previous article, I showcased how to create a bulk edit form in Django using class based views. Recently, the use case came up where I needed to change the queryset for the FormSet such that it could filter based on the currently logged in user. The problem I…

Django

3 min read

Django Tricks: How to pass querysets from a View to a Form
Django Tricks: How to pass querysets from a View to a Form
Django

3 min read


Mar 2

Django: How to write a customized bulk edit page using class based views

The Django framework is an extremely powerful tool at helping build applications quickly while helping drastically reduce the amount of boilerplate code. …

Django

10 min read

Django: How to write a customized bulk edit view in a class based view
Django: How to write a customized bulk edit view in a class based view
Django

10 min read


Feb 22

Django signals: How to automatically trigger additional actions after saving an object

Django provides a robust signaling framework which can be extremely useful for triggering additional logic after specific events happen, i.e. saving an object. This article will demonstrate how to set up Django signals to trigger a method every time a specific model object is saved. For the example use case…

Django

3 min read

Django signals: How to automatically trigger additional actions after saving an object
Django signals: How to automatically trigger additional actions after saving an object
Django

3 min read


Jan 13

Django: Pagination for related models using CBVs (Class Based Views)

Django provides a powerful built-in construct called Paginator which helps streamline handling pagination for your models and helps eliminate boilerplate code. This article will illustrate how to utilize this class in the Django built-in ListView and DetailView CBVs in two simple examples. Example models First, let’s define the model class and the…

Django

3 min read

Django

3 min read


Jan 1, 2021

The three keys to success in engineering (or any job)

Since this is something which comes up often in conversation, I wanted to document my answer to the question, “How do I get ahead?”. …

Engineering

3 min read

The three keys to success in engineering (or any job)
The three keys to success in engineering (or any job)
Engineering

3 min read


Dec 5, 2020

Design anti-pattern: Tightly coupling infrastructure to org structure

One common design anti-pattern in the software engineering industry that I’ve come across repeatedly over the years is the practice of having infrastructure mirror the organizational structure of the company using it - a systems-level application of Conway’s law. …

Infrastructure

3 min read

Infrastructure

3 min read


Jan 24, 2018

The 10 qualities of world-class leaders

Aspiring leaders often ask what the important traits are of a successful leader. Typically, the best advice is to model the desired behaviours observed in other successful leaders. The following is my personal list of what I have observed to be 10 of the most important qualities of world-class leaders. Optimize for the team’s success …

Leadership

3 min read

Leadership

3 min read


Jun 29, 2017

Measuring the efficiency of test automation in software projects

Test automation is accepted as a best practice and seen as a must in nearly all software engineering projects. After all, automated tests can run continuously 24/7/365 without any breaks and are the best way to quickly catch regressions in the code base almost as soon as they are introduced…

Software Testing

5 min read

Software Testing

5 min read


Jan 23, 2017

Maintaining technical continuity through turnover

Technical continuity is an important aspect of any engineering team as the team’s staffing changes over time. Engineers will move on to new opportunities for legitimate reasons and new faces will be hired to take their place. For large enough teams, losing a few seasoned engineers at once is not…

Software Development

5 min read

Software Development

5 min read

Adrien Van Thong

Adrien Van Thong

10 Followers

Software Engineer.

Following
  • Joe Kinsella

    Joe Kinsella

  • Claire Lew

    Claire Lew

  • Tech We Want

    Tech We Want

  • President Joe Biden

    President Joe Biden

  • Steve Haapaoja

    Steve Haapaoja

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech