This video demonstrates how to avoid default caching on your GET endpoint (It's recommend depending on your usecase) by adding @method_decorator(never_cache) as a decorator on your retrieve or get method. It also show the utility of django Q class to create an OR queryset while search with alternative keyword.
コメント