1👍
✅
You need to read the manual which tells you that after you install cartidge with pip
, you have to create a new project with the correct template in order to include all the specific settings for cartridge, which include the URLs:
Once installed, the command mezzanine-project can be used to create a
new Mezzanine project, with Cartridge installed, in similar fashion to
django-admin.py:$ mezzanine-project -a cartridge project_name $ cd project_name $ python manage.py createdb --noinput $ python manage.py runserver
For now, you can try adding these two lines to your urls.py
, and it should get rid of the immediate problem, but you should really follow the instructions and create a project with the right template:
from cartridge.shop.views import order_history
url("^shop/", include("cartridge.shop.urls")),
url("^account/orders/$", order_history, name="shop_order_history"),
Source:stackexchange.com