Revision 3461 breaks down my app oddly. Somehow I'm able to access some
of the views (general views) but when I use a view in my app, I get:

Exception Type:         TypeError
Exception Value:        readonly attribute
Exception Location:
        
/usr/lib/python2.3/site-packages/Django-0.95-py2.3.egg/django/contrib/auth/decorators.py
in _dec, line 18

Traceback (most recent call last):
File
"/usr/lib/python2.3/site-packages/Django-0.95-py2.3.egg/django/core/handlers/base.py"
in get_response
  65. callback, callback_args, callback_kwargs = resolver.resolve(path)
File
"/usr/lib/python2.3/site-packages/Django-0.95-py2.3.egg/django/core/urlresolvers.py"
in resolve
  147. sub_match = pattern.resolve(new_path)
File
"/usr/lib/python2.3/site-packages/Django-0.95-py2.3.egg/django/core/urlresolvers.py"
in resolve
  112. self.func = self.get_callback()
File
"/usr/lib/python2.3/site-packages/Django-0.95-py2.3.egg/django/core/urlresolvers.py"
in get_callback
  118. return getattr(__import__(mod_name, '', '', ['']), func_name)
File
"/home/hukka/work/programs/django/teekkarikyla/../teekkarikyla/kirjasto/views.py"
in ?
  54. add_book = login_required(add_book)
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__

  TypeError at /accounts/verify/
  readonly attribute

If I reload the page, the error changes into:
Exception Type:         ViewDoesNotExist
Exception Value:        Tried verify in module teekkarikyla.kirjasto.views.
Error was: 'module' object has no attribute 'verify'
Exception Location:
        
/usr/lib/python2.3/site-packages/Django-0.95-py2.3.egg/django/core/urlresolvers.py
in get_callback, line 122

I can get back to TypeError by restarting my server. Running Django on
the internal server on Debian unstable's Python2.3.


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