A contanct Managment project Django 3.1 and Python 3.2.:
Run the following commands in Terminal:
./manage.py makemigrations
./manage.py migrate**Attention: ** Before you using ./manage.py, make sure the python command in your system is towards to python 3.6 or above version. Otherwise you may solve this by one of the two following methods:
- Modify the first line in
manage.py, change#!/usr/bin/env pythonto#!/usr/bin/env python3 - Just run with:
python3 ./manage.py makemigrations
Run command in terminal:
./manage.py createsuperuserRun command in terminal:
./manage.py create_testdataRun command in terminal:
./manage.py collectstatic --noinput
./manage.py compress --forceExecute: ./manage.py runserver
Open up a browser and visit: http://127.0.0.1:8000/ , the you will see the Project.


