django-rest-framework-condition
django-rest-framework-condition copied to clipboard
Decorators @condition, @last_modified and @etag for Django Rest Framework
Hi, first thanks for writing this package! I found it when researching some improvements I'm making to django-fancy-cache: https://github.com/peterbe/django-fancy-cache/issues/67 I'm looking to integrate etags into my rest framework site but...
First of all, thank you for your effort of creating a dedicated library. It's an impressive amount of work. The question is: what are the advantages of using this library...
While the existing implementation is simple it: creates a decorated function per request, calls it, and then will discard it. Since the functionality is straightforward and also encapsulated fairly well...