📜  django router multiple pk - Python 代码示例

📅  最后修改于: 2022-03-11 14:46:10.122000             🧑  作者: Mango

代码示例1
router.register(prefix=r'requestsbyuser/(?P\d+)', viewset=views.RequestsByUser, base_name='request')