Django 1.11
sudo pip3 install virtualenvvirtualenv -p python3 venv --no-site-packagessource venv/bin/activatevenv/bin/pip3 install -r requirements.txt
- Open project in PyCharm
- In
File>Settings>Project Interpreter>Add Localwritevenv/bin/python3.5
- /api/goods/
GET(current product),POST(params: code, weight)
source venv/bin/activate &&
venv/bin/python3.5 manage.py makemigrations &&
venv/bin/python3.5 manage.py migrate
