admin構成とデータベース接続

3191 ワード

 
 
admin  
:web

python manage.py makemigrations
python manage.py migrate
:( )
python manage.py createsuperuser

list_display
search_filter
list_filter
ordering

Mysql     
settings:
datebases
1. mysql



myaql
( )
2. mysqlclient
__init__ :import MySQLdb
3.