Changes between Version 3 and Version 4 of Ticket #27882, comment 2
- Timestamp:
- Feb 27, 2017, 6:59:34 AM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #27882, comment 2
v3 v4 1 1 Replying to [comment:1 Tim Graham]: 2 2 Yes, I'm sure that it's not a problem in my project because I've tested my project on this way: 3 Fi st, 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.3 First, 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 4 So, 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 5 Maybe it has to do with the cache framework itself?