March 23, 2023 » » [Archived Version]
How to create cleaner URLs with slugs in Django.
Read MoreMarch 23, 2023 » » [Archived Version]
How to use Django Reversion and Wagtail together to audit changes.
Read MoreMarch 23, 2023 » » [Archived Version]
How to create unique, but obfuscated URLs in Django.
Read MoreMarch 23, 2023 » » [Archived Version]
How to dynamically update URLs with a template tag.
Read MoreMarch 23, 2023 » Adam Johnson » [Archived Version]
Django’s template engine allows you to augment template contexts with context processors. These are functions that take the current request and return a dictionary to be merged into the context: from example.models import HotDog from example.models import HotDogState def hot_dog_stats(request): return { "hot_dogs_eaten": HotDog.objects.filter( state …
Read MoreMarch 23, 2023 » Django on Matt Layman » [Archived Version]
In this episode, I did another Exercism problem in Python that focused on Python packing and unpacking of arguments. Once the exercise was complete, I started on a new feature with the homeschool app. We added a new model field in preparation for the changes. After that, I removed django-stubs because it wasn’t a good fit for my project.
Read MoreMarch 23, 2023 » Django on Matt Layman » [Archived Version]
In this episode, I did another Exercism problem in Python that focused on Python packing and unpacking of arguments. Once the exercise was complete, I started on a new feature with the homeschool app. We added a new model field in preparation for the changes. After that, I removed django-stubs because it wasn’t a good fit for my project.
Read MoreMarch 20, 2023 » TestDriven.io » [Archived Version]
This article looks at where potential performance issues can occur in a Django application and how to address them in order to speed up your app.
Read More