New article every time I publish!

Latest posts!

06, June 2020 - 12 min read
Django QuerySet Examples (with SQL code included)

Django has a powerful ORM which helps to build and execute SQL queries. Here you'll find Django QuerySet examples with SQL codes.

25, May 2020 - 6 min read
pre-commit hook for Django project

Checking code style, import order using pre-commit git hook in a Django project.

03, May 2020 - 8 min read
Generating random things using Python

Collection of random operations like generating random number(s), list(s), getting random row(s) from database using Django or SQLAlchemy ORM...

19, April 2020 - 14 min read

Database migration strategy that helps to move model(s) into other apps without deleting or creating new tables and/or foreign keys.

27, March 2020 - 2 min read
How to use Django shell in Jupyter Notebook

Learn how to connect Django's shell with the Jupyter Notebook. Django QuerySets in Jupyter notebooks can be used to plot/analyze data from the database.