mirumee/satchless — Issue #88: Installation docs not working
Author: jasford
Created: 2011-12-13 23:06:51+00:00
State: open

I'm just getting started with Satchless, and I'm sure I'll figure this out, but thought I'd document it now to make life easier for others in the future. In the installation docs, it says to add this to `urls.py`:

from satchless.cart.app import cart_app
from satchless.category.app import product_app
from satchless.order.app import order_app

urlpatterns = patterns('',
url(r'^products/', include(product_app.urls)),
url(r'^contact/', include('satchless.contact.urls')),
url(r'^image/', include('satchless.image.urls')),
url(r'^cart/', include(cart_app.urls)),
url(r'^checkout/', include(order_app.urls)),
)

This causes an error:

> cannot import name cart_app

In fact, if I browse the source for `satchless.cart.app.py`, I don't see `cart_app` in there. So either it has moved and the docs need to be updated, or there is some other step that I'm missing – in which case it would be good to provide some sort of help text in the docs for others who run into similar problems.

For now, I'm stuck, but I'm going to dig through more of the docs and the sample apps to see if I can figure it out on my own.