에서 urls.py 포함되지 않습니다장고 나는 아래의 오류를 얻고 설치된 응용 프로그램
Caught NoReverseMatch while rendering: Reverse for 'satchless-checkout-prepare-order' with arguments '()' and keyword arguments '{}' not found.
을하지만 내 설치된 앱의 satchless.contrib.checkout.common
있습니다.
from django.conf.urls.defaults import patterns, url
from .views import confirmation, prepare_order, reactivate_order
urlpatterns = patterns('',
url(r'^prepare/$', prepare_order, {'typ': 'satchless_cart'},
name='satchless-checkout-prepare-order'),
url(r'^(?P<order_token>\w+)/confirmation/$', confirmation,
name='satchless-checkout-confirmation'),
url(r'^(?P<order_token>\w+)/reactivate/$', reactivate_order,
name='satchless-checkout-reactivate-order'),
)
왜 내 템플릿에서 {% url satchless-checkout-prepare-order %}
를 호출 할 수 없습니다입니다 : satchless.contrib.checkout.common
내에 포함 된 urls.py
입니까?
은 당신이해야 할 일은, (하자 다단계 말) 체크 아웃 방법을 선택 INSTALLED_APPS에 추가하고 해당 URL을 포함하는 것입니다. 고맙습니다. – GhotiPhud