我解决了自己的问题。路由器类放入/ myapp2下的名为routers.py的单独文件中。不需要meta.app_label,因为我猜它是自动分配的。
上一篇 poj 2256 Artificial Intellige...
下一篇 名为[create_subscription]和[servlet.create]的servlet都映射到url
版权所有 (c)2021-2022 MSHXW.COM
ICP备案号:晋ICP备2021003244-6号