1. Mikhail Korobov
  2. django-cache-utils
  3. Issues
Issue #6 new

Invalidate without cached function call

Anonymous created an issue

To drop some values from cache i do something like this:

def uncache_user_property(sender, instance, **kwargs):
    get_user_property(instance.user_id, instance.prop.name)
    get_user_property.invalidate(instance.user_id, instance.prop.name)

Comments (0)

  1. Log in to comment