After some fussing about we were able to get django-localeurl working
correctly.
Solution took a bit of searching to find:
http://osdir.com/ml/DjangoUsers/2009-06/msg00668.html
Basically, localeurl.middleware.LocaleURLMiddleware should come before
django.middleware.common.CommonMiddleware in MIDDLEWARE_CLASSES, but
after everything else. If it is placed after CommonMiddleware,
APPEND_SLASH is broken as explained in the django-localeurl docs.
http://django-localeurl.googlecode.com/svn/tags/release-1.3/docs/.build/html/installation.html#id1
Here is what we have and it seems to work correctly:
MIDDLEWARE_CLASSES = (
"django.contrib.sessions.middleware.SessionMiddleware",
"django.middleware.locale.LocaleMiddleware",
"django.contrib.auth.middleware.AuthenticationMiddleware",
"django.middleware.doc.XViewMiddleware",
#The next middleware is required if you want to use satchmo
#to serve multiple simultaneous shops.
"threaded_multihost.middleware.ThreadLocalMiddleware",
"satchmo.shop.SSLMiddleware.SSLRedirect",
"satchmo.recentlist.middleware.RecentProductMiddleware",
"localeurl.middleware.LocaleURLMiddleware",
"django.middleware.common.CommonMiddleware",
)
Using Django 1.0.2 & Satchmo 0.8.1.