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 17Jul 17
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
Adrien Van ThongDjango tricks: how to exclude a migration during unit testsHow to exclude production-only migration files from the Django unit test framework.Dec 1, 2023Dec 1, 2023
Adrien Van ThongDjango tricks: how to guarantee migration files are always up to dateHave you ever made some changes to you Django application, and later found out those changes resulted in new migrations?Nov 17, 2023Nov 17, 2023