Wednesday, October 5, 2011

Re: retrieving data from Cache

On Wednesday, 5 October 2011 09:51:11 UTC+1, himabindu wrote:
HI,

    I have an issue in django framework. I was trying to develop a
progress bar for my application, where the progress depends on files
retrieved from the cache. But iam not able to retrieve the files from
the cache.


 CACHES = {
    'default': {
        'BACKEND': 'django.core.cache.backends.db',
        'LOCATION': 'vmware/Downloads/Django-1.3/django/core/cache/
backends/',
               }
            }
 
This is obviously nonsense. Look again at the documentation for the db cache:
https://docs.djangoproject.com/en/1.3/topics/cache/#database-caching
and follow that.
--
DR.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/FNgXYTuXrWEJ.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment