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


Ignore:
Timestamp:
Feb 27, 2017, 6:59:34 AM (8 years ago)
Author:
MikiSoft

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #27882, comment 2

    v3 v4  
    11Replying to [comment:1 Tim Graham]:
    22Yes, I'm sure that it's not a problem in my project because I've tested my project on this way:
    3 Fist, 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.
     3First, 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!
    55Maybe it has to do with the cache framework itself?
Back to Top