Changes between Initial Version and Version 1 of Ticket #27882, comment 2
- Timestamp:
- Feb 27, 2017, 6:43:09 AM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #27882, comment 2
initial v1 1 1 Replying 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 thisway:2 Yes, I'm sure that it's not a problem in my project because I've tested my project on this way: 3 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. 4 So, I changed t ag 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!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!