Loading XSD file into memory ONCE

2012-12-09 Thread Dwayne Ghant
Hello All, I will be short and sweet. I have a simple (well at least I think it's simple) question. First let me explain, I'm writing a RESTful webservice that uses validates xml submissions using an xsd (440kb in size), pre-defined, schema. I would, idealistically, like to bootstrap the sc

How to stop my views from cacheing

2012-12-17 Thread Dwayne Ghant
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

Re: How to stop my views from cacheing

2012-12-17 Thread Dwayne Ghant
view is cached, django > wont go down to the view until the cache thinks the content has expired. > > > On Monday, December 17, 2012 5:14:56 PM UTC-8, Dwayne Ghant wrote: >> >> Hello All: >> >> I have a python view that I'm building but the for some st