Django part 3

Ting
Nov 26, 2020
migrate  # database
createsuperuser
job-> models.py
let changes show in admin page: add in admin.py
add path ‘job’ to NSTALLED_APPS in global settings.py
makemigrations # create databse
migrate # apply

show job type on admin page:

job-> models.py:
show real job type here
pip frereze 
pip freeze > requirements.txt # record all libraries used in a txt file
pip install -r requirements.txt # install all libraries

--

--