Hi all!
I'm trying to deploy an app developed by a contractor. He has
customized several parts of Satchmo, so he's placed them in the apps
directory within the Django setup.
When I attempt to access the site, I get the following error:
[Tue Mar 23 17:24:37 2010] [error] [client x.x.x.x]
ImproperlyConfigured: Error importing middleware satchmo_store.shop:
"No module named satchmo_store.shop"
I'm not sure what's missing here...
My settings.py is as follows:
MIDDLEWARE_CLASSES =
(
"django.middleware.common.CommonMiddleware",
"django.contrib.sessions.middleware.SessionMiddleware",
"django.middleware.locale.LocaleMiddleware",
"django.contrib.auth.middleware.AuthenticationMiddleware",
"django.middleware.doc.XViewMiddleware",
"threaded_multihost.middleware.ThreadLocalMiddleware",
"satchmo_store.shop.SSLMiddleware",
"satchmo_store.shop.SSLMiddleware.SSLRedirect",
"satchmo_ext.recentlist.middleware.RecentProductMiddleware",
#'djangologging.middleware.LoggingMiddleware',
#'debug_toolbar.middleware.DebugToolbarMiddleware',
"django.contrib.flatpages.middleware.FlatpageFallbackMiddleware",
)
TEMPLATE_CONTEXT_PROCESSORS =
('satchmo_store.shop.context_processors.settings',
'django.core.context_processors.auth',
#'satchmo_ext.recentlist.context_processors.recent_products',
)
ROOT_URLCONF = 'satchmo_store.urls'
INSTALLED_APPS =
(
'django.contrib.sites',
'satchmo_store.shop',
'django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.comments',
'django.contrib.sessions',
'django.contrib.sitemaps',
'registration',
'sorl.thumbnail',
'keyedcache',
'livesettings',
'l10n',
'satchmo_utils.thumbnail',
'satchmo_store.contact',
'tax',
'tax.modules.no',
'tax.modules.area',
'tax.modules.percent',
'shipping',
'satchmo_store.contact.supplier',
'shipping.modules.tiered',
'shipping.modules.tieredweight',
'satchmo_ext.newsletter',
'satchmo_ext.recentlist',
#'testimonials',
'product',
'satchmo_ext.product_feeds',
'satchmo_ext.brand',
'payment',
'payment.modules.purchaseorder',
'payment.modules.giftcertificate',
'satchmo_ext.wishlist',
'satchmo_ext.upsell',
'satchmo_ext.productratings',
'satchmo_ext.satchmo_toolbar',
'satchmo_utils',
'shipping.modules.tieredquantity',
#'django_extensions',
'satchmo_ext.tieredpricing',
#'typogrify',
#'debug_toolbar',
'app_plugins',
'django.contrib.flatpages',
)
AUTHENTICATION_BACKENDS =
(
'satchmo_store.accounts.email-
auth.EmailBackend',
'django.contrib.auth.backends.ModelBackend',
)
#DEBUG_TOOLBAR_CONFIG =
{
# 'INTERCEPT_REDIRECTS' :
False,
#}
#### Satchmo unique variables
####
#from django.conf.urls.defaults import patterns,
include
SATCHMO_SETTINGS =
{
'SHOP_BASE' : '/
shop',
'MULTISHOP' :
False,
#'SHOP_URLS' :
patterns('satchmo_store.shop.views',)
}
Thanks in advance.
-Doug
--
You received this message because you are subscribed to the Google Groups
"Satchmo users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/satchmo-users?hl=en.