Adrien Van ThonginDjango UnleashedDjango DRY in action: How to correctly enforce validators with DRFDjango validators are not always universally enforced. This article provides a simple repeatable solution without adding boilerplate code!Sep 3Sep 3
Adrien Van ThonginDjango UnleashedDjango tricks: Custom context processorsThis article will explain how to globally add new context variables to all your views.Aug 5Aug 5
Adrien Van ThonginDjango UnleashedTop 10 must-know Django code tricks to level up your skills10 easy tricks that will speed up your Django development and make your code betterJul 172Jul 172
Adrien Van ThongDjango: Auto-register new CBVs into urls.pyHow to create an admin-style decorator that automatically adds your CBVs to urlsJun 3Jun 3
Adrien Van ThonginDjango UnleashedDjango: Unit testing a CBV with formsPart 2 of a series on how to unit test CBVs in Django. This article focuses on testing form-based CBVs such as CreateView and UpdateView.May 15May 15
Adrien Van ThongDjango: How to easily unit test a Class Based ViewThis tutorial will teach you how to easily create unit tests for your CBVs.Apr 1Apr 1
Adrien Van ThongDjango tricks: Quickly create a table viewThe django-tables plugin can help generate a fully-functional table with sortable headers, pagination, and filtering from an existing CBV.Mar 1Mar 1
Adrien Van ThongDjango: Top 5 Class Based ViewsThe top 5 most common CBVs: what they are used for, and how to implement them.Feb 1Feb 1
Adrien Van ThongDjango tricks: How to let users change page size with paginationDjango makes it extremely simple to add pagination to a view, but what if you wanted to let your users choose how big each page should be?Jan 151Jan 151
Adrien Van ThongDjango: How to easily migrate data from legacy apps to DjangoLessons learned from migrating legacy PHP apps to DjangoJan 32Jan 32