我是django的新手,我遇到了一个我无法理解的错误。我有3个模型,即客户,服务和使用。我想获取客户使用的服务。我通过查询模型(特别是使用filter方法)通过uses模型来实现这一点。然而,我得到了以下错误 ValueError at /employee/view_customer/精确查找的QuerySet值必须使用</e
我正在尝试使用slug访问一个页面,但是我一直得到这个错误The QuerySet value for an exact lookup must be limited to one result using,我认为这是一个filter或get错误,但我不知道错误是从哪里来的。views.tutorial_topic_category, name='tutorial-topic-category'),
path("<slug>/<slug2>&
我不能过滤相同的鼻涕虫值。问题是,我需要两个相同的鼻涕虫种类,我不知道如何解决它。我有两种产品,用的是鼻涕虫(样)> 'silikonovyj-chehol‘,我试着过滤它,但是有这个The QuerySet value for an exact lookup must be limited'cart:cart_create' product.id %}"><button>Добавить в корзин