backend for r5 shop base on django
django-rest-framework
- run on docker
- use
python manage.py makemigrations
create orm - use
python manage.py migrate
create database - use
python manage.py createsuperuser
create super user - login
/admin
- enjoy it
- django admin
/admin/
- resftul api
/api/
- restful api get token
/api-token-auth/
- after modify model
- use
python manage.py makemigrations
generate python orm migration code - use
python manage.py migrate
excute database modify