dcramer / django-devserver

A drop-in replacement for Django's runserver.
BSD 3-Clause "New" or "Revised" License
1.27k stars 158 forks source link

'devserver_profile' object has no attribute '__name__' #45

Open dlo opened 13 years ago

dlo commented 13 years ago

When using the devserver profiler, this error propagates no matter what view I'm using.

Here's the full traceback

Traceback:
File "/usr/local/Cellar/python/2.7.1/lib/python2.7/site-packages/django/core/handlers/base.py" in get_response
  101.                             request.path_info)
File "/usr/local/Cellar/python/2.7.1/lib/python2.7/site-packages/django/core/urlresolvers.py" in resolve
  252.                     sub_match = pattern.resolve(new_path)
File "/usr/local/Cellar/python/2.7.1/lib/python2.7/site-packages/django/core/urlresolvers.py" in resolve
  158.             return ResolverMatch(self.callback, args, kwargs, self.name)
File "/usr/local/Cellar/python/2.7.1/lib/python2.7/site-packages/django/core/urlresolvers.py" in _get_callback
  170.             raise ViewDoesNotExist("Tried %s in module %s. Error was: %s" % (func_name, mod_name, str(e)))

Exception Type: ViewDoesNotExist at /
Exception Value: Tried home in module app.views. Error was: 'devserver_profile' object has no attribute '__name__'