Install Django under the MacOS Sequoia (Under Brew)
Install "pipx"
brew install pipx
brew cleanup pipx
Install Django
It should install the latest version of Django
brew install django-completion
brew cleanup django-completion
Set Django virtual environment
py -m venv myDjango
Get the activate myDjango
source myDjango/bin/activate (myDjango)
Install the Django via pip
pip install Django
Run the Django VE server
python manage.py runserver (Please note: This python is not the python you've installed in your MacOS - the python command here is in your Django virtual env)
Important: I normally put the the following codes in the "~/.zshrc" as below: (You can set this up before step 3 but not include "alias python='/Users/leixia/myDjango/bin/activate'"
Date
State