- 部署环境:腾讯云,python3, Ubuntu18.04
2.所用工具:nginx1.81,uwsgi,redis4.x,django2.1,celery,mysql5.7
3.描述:
celery处理任务时报错,说没有反向啥的,我感觉有呀,而且上传图片几十k也不大啊
**
报
** raise NoReverseMatch(msg)
django.urls.exceptions.NoReverseMatch: Reverse for 'order' with no arguments not found. 1 pattern(s) tried: ['user/order/(?P\d+)$']
原url配置代码截图:
user中url的配置
和下面答主的一样 (除了我的order/后面还有别的关于页码的参数以外)