python - Reverse for 'shop_cart' with arguments '()' and keyword arguments '{}' not found. 0 pattern(s) tried: [] -


i trying out django mezzanine. have installed pip. after successful installation added cartridge package via pip install -u cartridge. have included in installed_apps. able see package , able tweak in admin panel. when try go onto home page giving me following error:-

reverse 'shop_cart' arguments '()' , keyword arguments '{}' not found. 0 pattern(s) tried: [] 

inside debugger shown following error @ line 4 highlighed:-

1   {% extends "base.html" %} 2   {% load i18n %}  3     4   {% block meta_title %}{% trans "home" %}{% endblock %}  5   {% block title %}{% trans "home" %}{% endblock %} 6     7   {% block breadcrumb_menu %} 8   <li class="active">{% trans "home" %}</li> 9   {% endblock %} 10   11  {% block main %} 12  {% blocktrans %} 13  <h2>congratulations!</h2> 14  <p> 

also mention have not edited urls or files.

you need read manual tells after install cartidge pip, have create new project correct template in order include specific settings cartridge, include urls:

once installed, command mezzanine-project can used create new mezzanine project, cartridge installed, in similar fashion django-admin.py:

$ mezzanine-project -a cartridge project_name $ cd project_name $ python manage.py createdb --noinput $ python manage.py runserver 

for now, can try adding these 2 lines urls.py, , should rid of immediate problem, should follow instructions , create project right template:

from cartridge.shop.views import order_history  url("^shop/", include("cartridge.shop.urls")), url("^account/orders/$", order_history, name="shop_order_history"), 

Comments

Popular posts from this blog

asynchronous - C# WinSCP .NET assembly: How to upload multiple files asynchronously -

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -