This repository include the source codes of the article about django optimization tips 2.
virtualenv -p python3 .venv
source .venv/bin/activate
pip install -r requirements.txt
For poetry users:
poetry install
poetry shell
cd backend
python manage.py migrate
python manage.py loaddata user.yaml
python manage.py loaddata country.yaml
python manage.py loaddata product.yaml
username: admin
password: secret1secret
If you want create a new super user : python manage.py createsuperuser --email xxx --username xxx
python manage.py runserver
Go to localhost:8000
in your browser