🌲🏕️🌲

sejenak berpaling dari lelahnya hari

Django

10 February 2017

Why you might want to use django?

Design/Structure of the framework

How dependencies are managed

How database migration is handled

Assign the state with makemigrations

When running python3 manage.py makemigrations, django will:

Important:

Alternatively, you can add --dry-run flag as suffix to the command to see the direct impact of the command without ended up creating new migration files.

Apply the state to the database with migrate

When running python3 manage.py migrate, django will:

Useful migration commands

Alternatively, you can also play more with migration with these commands:

🌒 Kembali ke mimpi