馃殌 How to Create a Chrome Extension: A Beginner鈥檚 GuideChrome extensions have become an integral part of our browsing experience. From blocking ads to saving passwords, summarizing articles, or even generating AI responses, extensions make the browser smarter and tailored to our needs. If you鈥檝e ever won...Aug 30, 2025 路 4 min readnowiknow.site
Decoding Django Performance: Select Related vs. Prefetch Related - A Deep DiveAs your Django application grows, so does the complexity of your database queries. Optimizing these queries becomes crucial for maintaining performance and ensuring a smooth user experience. Two powerful tools in Django's ORM arsenal for this purpose...Apr 22, 2025 路 5 min readnowiknow.site
Decoding Django ORM: Mastering aggregate() and annotate()Django's ORM (Object-Relational Mapper) is a powerful tool for interacting with your database. Two particularly useful, but sometimes confusing, methods are aggregate() and annotate(). Both allow you to perform calculations on your data, but they dif...Feb 18, 2025 路 3 min readnowiknow.site
Understanding CSRF Tokens: How to Protect Your Website from Cross-Site Request Forgery AttacksIntroduction In today's world of online applications, security is one of the top priorities. One common yet dangerous attack is Cross-Site Request Forgery (CSRF). But don't worry鈥擟SRF tokens are here to protect your website and its users. In this art...Feb 3, 2025 路 4 min readnowiknow.site
Data Classes in Python: A Game Changer for Django Developers!Introduction If you鈥檝e been writing Python classes just to store data, chances are you've spent time writing __init__, __repr__, and __eq__ methods over and over. Python鈥檚 dataclasses module, introduced in Python 3.7, makes this process effortless. I...Jan 31, 2025 路 4 min readnowiknow.site