#8 Django tutorials | Showmigrations command in Django

#8 Django tutorials | Showmigrations command in Django

CodeShika

54 года назад

211 Просмотров

#8 Django tutorials | Showmigrations command in Django, https://youtu.be/gOc-WjkWW1w.
In this tutorial, you will learn what does the Django's Showmigrations command do. Showmigrations is the Django's management command that shows all migrations in our project.
Mainly,
1. It lists all of the apps Django knows about
2. Migrations for each app in our project
3. Whether or not the migrations is applied

The command is 'python manage.py showmigrations'.
The showmigrations command without any argument lists migrations for all apps in our project. We can also check the migrations of single app by passing app name as a argument.
Ex. for User app,

python manage.py showmigrations User

In the tutorial, I have explained complete work of the Showmigrations command.

Watch my recent tutorial here.

You have 17 unapplied migrations. Your project may not work properly until you apply the migrations.
https://youtu.be/of4St7HvMHs

#7 Django tutorials | What does first migrate command run do without running any makemigrations
https://youtu.be/d8Kne5YeKQ0

Watch all my Django Oscar tutorials for django-oscar version 2.1 from following series

Django Oscar 2.1 tutorials
https://www.youtube.com/playlist?list=PL_C2gJg0NHV-28HdJf9B7eSg3p9qLr9Ap

Watch my Django Oscar tutorials for django-oscar version 1.6 from following series

Django Oscar E-commerce tutorials for beginners in English
https://www.youtube.com/playlist?list=PL_C2gJg0NHV_pdITCcAG3OHdPY55UFAuP

Watch my django-oscar-accounts package tutorials i.e. a managed account for django-oscar here:

Django Oscar Accounts 2.1 tutorials for beginners
https://www.youtube.com/playlist?list=PL_C2gJg0NHV-BIuw5AhFRb7T1KFYO1202

Watch my Django Ajax tutorials in the following series

Django Ajax tutorials for begginers
https://www.youtube.com/playlist?list=PL_C2gJg0NHV_BA61RctpY99cItK-7EyQX

Also, watch

Django tutorials
https://www.youtube.com/playlist?list=PL_C2gJg0NHV_oSHIA3JN0rlIMzAkIUjnE

Friends, if you like this tutorial, please hit the like button and share, and if you want more tutorials like this please subscribe to my channel CodeShika.

#django_showmigrations
#django_commands
#CodeShika

Тэги:

#django_showmigrations #showmigrations_command_in_django #showmigrations_in_django #how_to_check_all_migrations_in_django_project #check_migrations_is_applied_or_not_in_django #django_tutorials #django_web_development #django_website_development #django_python_tutorials #django_python_tutorials_for_beginners #django_python #python_tutorials_for_beginners #python_web_development #python #pradnya #codeshika
Ссылки и html тэги не поддерживаются


Комментарии: