I ran into this problem as well. I believe the source of the problem is
here:
> File
> "/usr/lib/python2.3/site-packages/Django-0.95-py2.3.egg/django/contrib/auth/decorators.py"
> in _dec
>  18. _checklogin.__name__ = view_func.__name__

If "readonly attribute" is to be believed, then I *think* __name__ is
readonly. This confirms it:
>>> def foo():
...     pass
...
>>> foo.__name__ = "bar"
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
TypeError: readonly attribute

Switching to Python 2.4.3 solved the problem for me.


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