#7 Django tutorials | What does first migrate command run do without running any makemigrations, • #7 Django tutorials | What does first... . Usually, when we create Django project first time, we only run first migrate command without running any makemigrations. So, in this tutorial, I will show what does the first migrate command do without running makemigrations command.
The first migrate command looks at the INSTALLED_APPS setting and creates any neccessary database tables according to the database settings and the database migrations shipped with app. Those default apps have already migrations. So, the first migrate command run creates the tables applying the app migrations.
Commands Used:
1. python manage.py makemigrations
2. python manage.py migrate
3. python manage.py showmigrations
Watch all my Django Oscar tutorials for django-oscar version 2.1 from following series
Django Oscar 2.1 tutorials
• Django Oscar 2.1 tutorials
Watch my Django Oscar tutorials for django-oscar version 1.6 from following series
Django Oscar E-commerce tutorials for beginners in English
• Django Oscar E-commerce tutorials for...
Watch my django-oscar-accounts package tutorials i.e. a managed account for django-oscar here:
Django Oscar Accounts 2.1 tutorials for beginners
• Django Oscar Accounts 2.1 tutorials f...
Watch my Django Ajax tutorials in the following series
Django Ajax tutorials for begginers
• Django Ajax tutorials for begginers
Also, watch
Django tutorials
• Django tutorials
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_first_migrate
#migrate
#CodeShika