#2567: Cache does not work
--------------------------------------------------------+-------------------
 Reporter:  Jaroslaw Zabiello <[EMAIL PROTECTED]>  |        Owner:  jacob
     Type:  defect                                      |       Status:  new  
 Priority:  normal                                      |    Milestone:       
Component:  Cache system                                |      Version:  SVN  
 Severity:  normal                                      |   Resolution:       
 Keywords:  cache win32                                 |  
--------------------------------------------------------+-------------------
Changes (by [EMAIL PROTECTED]):

  * summary:  Cache does not work on win32 => Cache does not work

Comment:

 Having the same or similair issue on a linux installation when trying to
 do 'per-view' cache
 
 From settings.py....
 {{{
 CACHE_BACKEND = 'file:///home/django/cache'
 CACHE_MIDDLEWARE_SECONDS = 60*60*24
 }}}
 {{{
 MIDDLEWARE_CLASSES = (
     'django.middleware.common.CommonMiddleware',
 )
 }}}
 
 and the error I am getting is....
 
 {{{
 ViewDoesNotExist at /mysite/graph/test/
 Tried avail in module mysite.graph.views. Error was: 'function' object has
 no attribute 'method'
 }}}
 
 If I comment out the "@cache_page(60*24*24)" line in the view, it loads
 fine...[[BR]]
 I can also use the low-level cache API without any issues[[BR]]
 FYI - Using Python 2.4.3 on Ubuntu 6.06

-- 
Ticket URL: <http://code.djangoproject.com/ticket/2567>
Django <http://code.djangoproject.org/>
The web framework for perfectionists with deadlines.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-updates
-~----------~----~----~----~------~----~------~--~---

Reply via email to