toastdriven/django-tastypie — pull request #578 by dbtsai (2012-07-19 07:20:28+00:00)
Title: [FEATURE] Added more memory cache functionality

I'm adding new features on the SimpleCache in tastypie. By default, if the user does a PUT, PATCH, or DELETE request, the data in the memory cache will not be destroyed; therefore, users still have to wait until the cache is expired to see the new content.

I added delete method in the cache backend. However, I'm not sure how to implement ``cached_obj_delete_list`` correctly, since this requires ORM-specific implementation obj_delete_list to know which objects in the list are actually deleted.