Hi,

I'm getting a strange error when I run my application via the built in
testing server. Each time I modify a source file, and the server
reloads my views, the first request I make to the server prints the
following to stderr:

Traceback (most recent call last):
  File 
"/sw/lib/python2.4/site-packages/Django-0.95-py2.4.egg/django/core/servers/basehttp.py",
line 272, in run
    self.result = application(self.environ, self.start_response)
  File 
"/sw/lib/python2.4/site-packages/Django-0.95-py2.4.egg/django/core/servers/basehttp.py",
line 615, in __call__
    return self.application(environ, start_response)
  File 
"/sw/lib/python2.4/site-packages/Django-0.95-py2.4.egg/django/core/handlers/wsgi.py",
line 143, in __call__
    self.load_middleware()
  File 
"/sw/lib/python2.4/site-packages/Django-0.95-py2.4.egg/django/core/handlers/base.py",
line 38, in load_middleware
    mw_instance = mw_class()
TypeError: 'module' object is not callable

If I hit reload, everything starts to work fine again, but it's
annoying to have to reload my browser twice after each change I make.
Any ideas?

--Jon

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

Reply via email to