python related cmdb system

1、

Django: The CMDB system resources

https://www.cnblogs.com/wulaoer/p/5436866.html

https://github.com/triaquae/MadKing

2、

django- create simplecmdb project (1)

https://blog.51cto.com/huangzp/2089705

(1) Modify zone and language may be an error

(2) Modify modle.py

# ip = models.IPAddressField()
    ip = models.GenericIPAddressField

(3) Check the database for syntax errors, view the script statement to be executed, the database synchronization

python manage.py makemigrations hostinfo
python manage.py migrate

python manage.py sqlmigrate hostinfo 0001

(4) django create an administrator login background

python3 manage.py createsuperuser

(5) to run the program

python manage.py runserver 127.0.0.1:8000

Guess you like

Origin www.cnblogs.com/yaok430/p/11491200.html