How do you reload a Django model module using the interactive interpreter via “manage.py shell”?

前端 未结 9 1076
广开言路
广开言路 2020-11-28 02:14

I know how to reload a regular Python module within a regular Python interpreter session. This question documents how to do that pretty well:

How do I unload (reload

9条回答
  •  粉色の甜心
    2020-11-28 03:11

    ipython console does a deep reload with each reload() expression; and of course adds a lot of other useful stuff.

提交回复
热议问题