Writing
Writing
Articles, practical notes, and short lessons.Articles
14
UUIDv7 in DjangoHow to use UUIDv7 in DjangoDevelopment · 6 min read
Hyrum's Law in GolangOccurrence of Hyrum's law in GolangDevelopment · 3 min read
Avoiding Generic Foreign Keys by using Check ConstraintsHow to avoid using generic foreign keys by using check constraintsDevelopment · 5 min read
Reinitializing a Django appHow to reinitialize a Django app by deleting migration files, dropping associated database tables, and recreating the app from scratchDevelopment · 3 min read
Showing Models of Internal and 3rd Party Apps in Django Admin PageHow to display the models of Django's internal apps or any 3rd party apps in the admin page.Development · 5 min read
Displaying Human-Readable ArrayField Choices in Django REST FrameworkHow to Display a Human-Readable Format of a Django ArrayField Containing CharFields with Choices in Django REST Framework.Development · 3 min read
Hide your Nginx VersionThe Nginx version is exposed by default. Hide it.Systems · 5 min read
Custom Validation Errors in FastAPI with PydanticLearn how to customize validation errors in FastAPI with PydanticDevelopment · 5 min read
Finding the services companies use via their TXT recordsHow to use a company's TXT records to discover the products they use.Systems · 4 min read
Modifying LLM responses on the flyHow to modify LLM responses in Next.js to shape the response the way you wantDevelopment · 9 min read
Modal Routing in NextJSHow to route to a modal or a detail page in Next.js similar to the way Reddit and Instagram do it.Development · 6 min read
Restricting registrations only to specific users in DjangoOnly allowing registration to users with emails in an approved list of email providersDevelopment · 2 min read
Creating Different Admin Pages for Different Trusted Users in DjangoHow to Create Different Admin Pages for Different Trusted UsersDevelopment · 13 min read
Optimizing Queries in Django: Selecting Individual Fields using OnlyHow to optimize django queries by getting individual fields onlyDevelopment · 4 min read