Articles
Published writing, listed with the most recent entry first.
- UUIDv7 in DjangoNovember 11, 2024 — How to use UUIDv7 in Django
- Hyrum's Law in GolangNovember 9, 2024 — Occurrence of Hyrum's law in Golang
- Avoiding Generic Foreign Keys by using Check ConstraintsSeptember 5, 2024 — How to avoid using generic foreign keys by using check constraints
- Reinitializing a Django appJune 14, 2024 — How to reinitialize a Django app by deleting migration files, dropping associated database tables, and recreating the app from scratch
- Showing Models of Internal and 3rd Party Apps in Django Admin PageJune 5, 2024 — How to display the models of Django's internal apps or any 3rd party apps in the admin page.
- Displaying Human-Readable ArrayField Choices in Django REST FrameworkJanuary 20, 2024 — How to Display a Human-Readable Format of a Django ArrayField Containing CharFields with Choices in Django REST Framework.
- Hide your Nginx VersionJanuary 14, 2024 — The Nginx version is exposed by default. Hide it.
- Custom Validation Errors in FastAPI with PydanticJanuary 1, 2024 — Learn how to customize validation errors in FastAPI with Pydantic
- Finding the services companies use via their TXT recordsOctober 29, 2023 — How to use a company's TXT records to discover the products they use.
- Modifying LLM responses on the flyJuly 20, 2023 — How to modify LLM responses in Next.js to shape the response the way you want
- Modal Routing in NextJSDecember 7, 2021 — How to route to a modal or a detail page in Next.js similar to the way Reddit and Instagram do it.
- Restricting registrations only to specific users in DjangoNovember 2, 2021 — Only allowing registration to users with emails in an approved list of email providers
- Creating Different Admin Pages for Different Trusted Users in DjangoOctober 10, 2021 — How to Create Different Admin Pages for Different Trusted Users
- Optimizing Queries in Django: Selecting Individual Fields using OnlyOctober 2, 2021 — How to optimize django queries by getting individual fields only