Create and view books in the Django Admin panel
- Clone the repo.
- Make sure you have poetry (python environment and dependency manager) installed.
- In the project folder run
poetry install
to install dependencies. - Run
poetry shell
to open a new shell with all dependencies available. - Run
python manage.py runserver
See books/models.py
python manage.py makemigrations
is responsible for packaging up your model changes into individual migration filespython manage.py migrate
is responsible for applying those to your database.
- BASIC_POETRY_DJANGO_SETUP.md contains instructions to set up the basics of this project
- HOW_TO.md contains a step-by-step instruction to recreate this project.