Changes between Initial Version and Version 1 of Ticket #27882, comment 2


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

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #27882, comment 2

    initial v1  
    11Replying to [comment:1 Tim Graham]:
    2 Yes, I'm sure that it's not a problem in my project because I've tested my project on this this way:
     2Yes, I'm sure that it's not a problem in my project because I've tested my project on this way:
    33Fist, 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.
    4 So, I changed 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!
     4So, 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!
Back to Top