NoReverseMatch at /product/pussyes/ Reverse for 'basket_adding' not found. 'basket_adding' is not a valid view function or pattern name

后端 未结 1 566
情深已故
情深已故 2021-01-05 02:03

NoReverseMatch at /product/pussyes/

Reverse for \'basket_adding\' not found. \'basket_adding\' is not a valid view function or pattern name.

相关标签:
1条回答
  • 2021-01-05 02:37

    You're using namespace for your order app's URLs. You'll have to supply it's namespace to the url tag.

    {% url 'orders:basket_adding' %}
    #       \____/ \___________/
    #         |          |
    #     namespace   url name
    
    0 讨论(0)
提交回复
热议问题