Hello,

I installed django-debug-toolbar but it is not working with Satchmo. Does anybody have similar problem? It is not being displayed only in satchmo views but when I create custom views, then it is ok.

This is working for /mypage url:


from django.conf.urls.defaults import *
from satchmo_store.urls import urlpatterns as satchmo_urlpatterns


# Static pages
urlpatterns = patterns('tkshop.static_content.views',
    url(
        r'mypage',
        'mypage',
        name='static_mypage'
    ),
)

urlpatterns += satchmo_urlpatterns



But when I open satchmo URL (e.g. /category/some-category-name/), I get no toolbar.

Satchmo version: 0.9.2-pre hg-2181:3126f1733ad4
Django version: 1.2.5
Debug toolbar version: 0.8.5


MIDDLEWARE_CLASSES = (
    "django.middleware.common.CommonMiddleware",
    "django.contrib.sessions.middleware.SessionMiddleware",
    'debug_toolbar.middleware.DebugToolbarMiddleware',
    "django.middleware.csrf.CsrfViewMiddleware",
    "django.middleware.locale.LocaleMiddleware",
    "django.contrib.auth.middleware.AuthenticationMiddleware",
    "django.middleware.doc.XViewMiddleware",
    "django.contrib.messages.middleware.MessageMiddleware",
    "threaded_multihost.middleware.ThreadLocalMiddleware",
    "satchmo_store.shop.SSLMiddleware.SSLRedirect",
    #"satchmo_ext.recentlist.middleware.RecentProductMiddleware",
)


INSTALLED_APPS = (
    'django.contrib.sites',
    'debug_toolbar',
    'satchmo_store.shop',
    'django.contrib.admin',
...

Regards,
Martin

--
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.

Reply via email to