Hello All: I have a python view that I'm building but the for some strange reason the view keeps caching. Just to give an example:
@api_view(['POST']) @parser_classes((XMLParser,)) @cache_page(0) @cache_control(private=True) def test_view(request, format=None): return Response({'received data TESTING2': 'testing'}) Doesn't return "received data TESTING2': testing ." Instead, it keep returning the old cached information. Can some please tell me how to explicitly turn off caching while I'm still developing? It a pain!! I I have listed the references below that I used to trouble shoot: https://docs.djangoproject.com/en/dev/topics/cache/?from=olddocs#the-per-view-cache https://docs.djangoproject.com/en/dev/ref/settings/#std:setting-CACHES https://docs.djangoproject.com/en/dev/topics/cache/ Any help would be deeply appreciated. Thanx -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/J3fSCyJi0-8J. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.