Django isn't including the urls.py from an installed app -
i getting error below:
caught noreversematch while rendering: reverse 'satchless-checkout-prepare-order' arguments '()' , keyword arguments '{}' not found. but have satchless.contrib.checkout.common in installed apps. within satchless.contrib.checkout.common urls.py contains:
from django.conf.urls.defaults import patterns, url .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'), ) why not able call {% url satchless-checkout-prepare-order %} template?
have included root urlconf?
something in main urls.py file:
url(r'^foo/' include('satchless.urls')),
Comments
Post a Comment