openwisp/openwisp-radius

[chores] Use the method of User model for invalidation organization cache

pandafy opened this issue · 0 comments

In #424 we added some code for invalidating a user's organizations cache. Once the model method gets added to openwisp-users for cache invalidation, we should update the following code to use that method:

cache.delete('user_{}_organizations'.format(user.pk))

Depends On