- set permission for window with powershell run administrator
# For Window
Set-ExecutionPolicy RemoteSigned
- create venv with python 3.12.0
- activate venv
# MacOs or Linux
source ./venv/bin/activate
# Window <PowerShell, Bash, etc>
./venv/Scripts/active
- installing requirements.txt
pip install -r requirements.txt
- running app
python manage.py runserver
Fix generic migrations in uuid is primary key
* not call function uuid4()
* use uuid4 with primary key, it's auto generate key 128bit unique
Get params with django framework
* in path call params (arg function)
* form post call body or form data (request.data)
* after ? call query (request.GET)