Changes between Version 4 and Version 5 of Ticket #27882, comment 2


Ignore:
Timestamp:
Feb 27, 2017, 7:02:45 AM (8 years ago)
Author:
MikiSoft

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #27882, comment 2

    v4 v5  
    33First, I put in a view `print(cache.get(make_template_fragment_key('test')))` and in corresponding template `{% cache 0 test %}`, then I started the server and I opened to that page. It printed me `None`, even after refreshing the page.
    44So, I changed the tag to be `{% cache 300 test %}` and I've opened that page again. And suddenly it started printing content which I put under that cache tag!
    5 Maybe it has to do with the cache framework itself?
     5Maybe the problem is with `make_template_fragment_key` method or it has to do with the cache framework itself?
Back to Top