I'm trying to get Satchmo working.
I can get it to create its database, and it seems to function until I
try to bring up its admin in my browser

Browsing to  loalhost/admin brings up a page

    ValueError at /admin/
    Empty module name

The code at the error is in django/template/context.py

def get_standard_processors():
    global _standard_context_processors
    if _standard_context_processors is None:
        processors = []
        for path in settings.TEMPLATE_CONTEXT_PROCESSORS:
            dbg =   settings.TEMPLATE_CONTEXT_PROCESSORS
            i = path.rfind('.')
            module, attr = path[:i], path[i+1:]
            try:
                mod = __import__(module, {}, {}, [attr])

(the dgb = line added by me)

The traceback shows:
Locals:
    dbg = u'satchmo.shop.context_processors.settings'
    path = u's'
    module = u''
    attr = u's'



Playing with the name of the context processor shows that the value
's' comes from the first letter of the name in context processor.

I'm using Python 2.5 and Django .97 pre

So why does path not equal the whole string??
Karl


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to