today's (14-06-2026) logs:
-Django apps (basically a python package which is specifically meant for Django project, or we can say a submodule of a Django project).
command for creating Django app:
$ python
manage.py startapp employee
(employee is the app name you can write your own).
we create app for building specific features.
learned about app level directory.
created superuser using
$ python
manage.py createsuperuser
this gives credentials to login into admin panel
created model for employee app and registered our model in
admin.py module then migration comes in picture:
$ python
manage.py makemigration
this reads
models.py looks for any changes or modifications or newly created classes and creates migration file (here, in my project 0001_initial.py) with sql commands.
$ python
manage.py migrate
executes the sql commands that are in our migration file (in my case its 0001_initial.py)
exploring more.