这是我第一次使用SNMP,但是在阅读了之后,我仍然无法让一个简单的shell脚本在接收到陷阱时运行。# Example configuration file for snmptrapd# No traps are handled by default, you must edit this file!disableAuthorization yes# the generic traps
traphandle default /usr/lo
我从models.py中删除了两个模型,当我运行makemigrations并在本地迁移时,一切都很好。当我在Heroku上运行where时,我得到以下消息,其中Building和BuildingInstance是我删除的模型:0002_building_buildinginstance.py:- Create model BuildingInstanceRunning migrations:Your