我正在尝试学习django,在创建视口视图时,我遇到了这样的错误:Reverse for 'viewpost' with arguments '(1,)' not found. 1 pattern(s) tried: ['int:post\\.id$']我不明白我正在做的错误是什么 Views.py from django.shortcut
reverse match found错误,在传递的参数中只列出了这些参数中的2个。模板url函数的注释也只显示了传递的2个参数。如何将3个参数传递给URL分派器?编辑:这是完全相反的错误:找不到关键字参数为‘{’/teacher/assignment/22b95fce8983488db5ca34be80849973