liuyang1520 / django-command-extensions

Automatically exported from code.google.com/p/django-command-extensions
MIT License
0 stars 0 forks source link

show_urls breaks on urls mapped to class instances #21

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Create a class with a __call__ method.
2. Create a URL which maps to an instance of that class.
3. Run ./manage.py show_urls.

What is the expected output? What do you see instead?
You might want to try something like /some/url/ some.app.<Foo instance> if
it has no name.
Instead I get an AttributeError telling me my class instance has no
__name__ attribute.

What version of the product are you using? On what operating system?
0.2, ubuntu hardy

Original issue reported on code.google.com by trevor.caira on 19 Jun 2008 at 1:26

GoogleCodeExporter commented 8 years ago
fixed in svn

Original comment by v.oostv...@gmail.com on 2 Aug 2008 at 4:14