> Another data point:

I figured out the problem...

I had a 'global' directory called 'middleware' in which I had a module
called 'threadlocals'.

in <app>/model.py I had:
    import middleware.threadlocals as locals

The problem was that I also have a 'middleware.py' in that app, so
python was doing the relative import and getting site/app/middleware.py
instead of site/middleware/threadlocals.py

I renamed the middleware directory to 'mware' and now all works fine!

Silly me (just when you start thinkin' you're a python wiz ... )
--
Mike Cuddy ([EMAIL PROTECTED]), Programmer, Baritone, Daddy, Human.
Fen's Ende Software, Redwood City, CA, USA, Earth, Sol System, Milky Way.

    "The problem with defending the purity of the English language is
    that English is about as pure as a cribhouse whore. We don't just
    borrow words; on occasion, English has pursued other languages down
    alleyways to beat them unconscious and rifle their pockets for new
    vocabulary." -- James D. Nicoll

       Join CAUCE: The Coalition Against Unsolicited Commercial E-mail.
                          <http://www.cauce.org/>

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