When developing applications using the Django framework, we extensively use various Django commands like

  • python manage.py runserver
  • python manage.py makemigrations
  • python manage.py migrate

These commands are built-in and lie within Django itself.

Invoking python manage.py or python manage.py help will show all registered commands grouped by app.

Output :

Available subcommands:[auth]
changepassword
createsuperuser
[contenttypes]
remove_stale_contenttypes
[default]
create_user
run_seeder
[django]
check
compilemessages
createcachetable
dbshell
diffsettings
dumpdata
flush
inspectdb
loaddata
makemessages
makemigrations
migrate
sendtestemail
shell
showmigrations
sqlflush
sqlmigrate
sqlsequencereset
squashmigrations
startapp
startproject
test
testserver
[django_mysql]
cull_mysql_caches
dbparams
fix_datetime_columns
mysql_cache_migration
[oauth2_provider]
cleartokens
[sessions] clearsessions…


The following guide compiles a list of useful advanced Git commands that will make our everyday coding life easier.

1. Merge vs. Rebase

The merging workflow of git allows us to integrate changes from one branch into another. Rebasing serves the same purpose, but it does so in a more streamlined fashion. Rebasing and merging use very different methods to integrate changes from one branch into another.

To understand the difference between them, let’s assume we have a repository with the following branch state.


In any programming language, the same thing can be done in multiple ways. The main task of any developer is to find out an effective and proper approach to implement things.

Python is famous for allowing us to write code that’s elegant, easy to write, and almost as easy to read like plain English. One of the python’s most distinctive features is the list comprehension, which we can use to create powerful functionality within a single line of code. Actually it provides new and alternative syntax to solve problems. …


Object-Oriented Programming or better known as OOPs is one of the major pillars of any programming language. One of the biggest benefits of the OOPs is Inheritance and here we can use that concept to implement Custom Blueprint.

Before we understand the Custom Blueprint, let us discuss what is a Blueprint class?

Blueprint Class

In the real world, we have to do migrations numerous times. When we make any migration, a file will be created in migrations folder automatically, which will have two methods by default called “up” and “down”. It consists of logic as per the requirement of a particular migration.

Harsh Shah

A passionate Software Engineer having experience of building Web and Mobile applications with Django,Laravel,Nodejs and some other cool libraries and frameworks

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store