---
title: "Rohit Ranjan (@rohits144) | Hashnode"
description: "learning something daily. Read the latest articles by Rohit Ranjan on Hashnode."
url: "https://hashnode.com/@rohits144"
---

@rohits144

# Rohit Ranjan

@rohits144 · Bengaluru, India · Joined September 2023

learning something daily

### [🚀 How to Create a Chrome Extension: A Beginner’s Guide](https://nowiknow.site/how-to-create-a-chrome-extension-a-beginners-guide?utm_source=hashnode&utm_medium=feed)

Learn to create and publish your own Chrome extension from scratch with this beginner-friendly guide using HTML, CSS, and JavaScript

4 min read · [nowiknow.site](https://nowiknow.site/how-to-create-a-chrome-extension-a-beginners-guide?utm_source=hashnode&utm_medium=feed)

[Aug 30, 2025](https://hashnode.com/posts/how-to-create-a-chrome-extension-a-beginners-guide/68b2a357e6f304608abc022a)

### [Decoding Django Performance: Select Related vs. Prefetch Related - A Deep Dive](https://nowiknow.site/decoding-django-performance-select-related-vs-prefetch-related-a-deep-dive?utm_source=hashnode&utm_medium=feed)

As 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...

5 min read · [nowiknow.site](https://nowiknow.site/decoding-django-performance-select-related-vs-prefetch-related-a-deep-dive?utm_source=hashnode&utm_medium=feed)

[Apr 22, 2025](https://hashnode.com/posts/decoding-django-performance-select-related-vs-prefetch-related-a-deep-dive/68082bd4e63b08ac1055c29a)

### [Decoding Django ORM: Mastering aggregate() and annotate()](https://nowiknow.site/decoding-django-orm-mastering-aggregate-and-annotate?utm_source=hashnode&utm_medium=feed)

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...

3 min read · [nowiknow.site](https://nowiknow.site/decoding-django-orm-mastering-aggregate-and-annotate?utm_source=hashnode&utm_medium=feed)

[Feb 18, 2025](https://hashnode.com/posts/decoding-django-orm-mastering-aggregate-and-annotate/67b42dc3e1d69af5fb631aba)

### [Understanding CSRF Tokens: How to Protect Your Website from Cross-Site Request Forgery Attacks](https://nowiknow.site/understanding-csrf-tokens-how-to-protect-your-website-from-cross-site-request-forgery-attacks?utm_source=hashnode&utm_medium=feed)

Introduction 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—CSRF tokens are here to protect your website and its users. In this art...

4 min read · [nowiknow.site](https://nowiknow.site/understanding-csrf-tokens-how-to-protect-your-website-from-cross-site-request-forgery-attacks?utm_source=hashnode&utm_medium=feed)

[Feb 3, 2025](https://hashnode.com/posts/understanding-csrf-tokens-how-to-protect-your-website-from-cross-site-request-forgery-attacks/67a0bdbb15921218f2442672)

### [Data Classes in Python: A Game Changer for Django Developers!](https://nowiknow.site/data-classes-in-python-a-game-changer-for-django-developers?utm_source=hashnode&utm_medium=feed)

Introduction If you’ve been writing Python classes just to store data, chances are you've spent time writing \_\_init\_\_, \_\_repr\_\_, and \_\_eq\_\_ methods over and over. Python’s dataclasses module, introduced in Python 3.7, makes this process effortless. I...

4 min read · [nowiknow.site](https://nowiknow.site/data-classes-in-python-a-game-changer-for-django-developers?utm_source=hashnode&utm_medium=feed)

[Jan 31, 2025](https://hashnode.com/posts/data-classes-in-python-a-game-changer-for-django-developers/679c2cf2d2244047ce8a481c)
