Difference between admin.site.register and makemigrations in django
They're not related at all.
admin.site.register(MyModel) just makes instances of that model editable via the admin page. Without it they won't appear on the admin.
makemigrations just auto-generates some Python files, inside the migrations directory of each app. These files are like a description, in Python code, of what changes you have made to your models. They do nothing in themselves, until you run migrate, which is the only command here which actually touches your database schema - it updates the schema so that it matches what's in your migration files.
I'm beginner to django and got quite confused that what is the difference between register out models by admin.site.register and makemigrations in both cases we're mapping our tables to database, if i'm wrong kindly correct me.
thank you