Remove cache for org member check
This commit is contained in:
parent
48d0a58dae
commit
cdbed121cd
3 changed files with 0 additions and 6 deletions
|
@ -142,8 +142,6 @@ def contest_submission_delete(sender, instance, **kwargs):
|
|||
@receiver(post_save, sender=Organization)
|
||||
def organization_update(sender, instance, **kwargs):
|
||||
cache.delete_many([make_template_fragment_key("organization_html", (instance.id,))])
|
||||
for admin in instance.admins.all():
|
||||
Organization.is_admin.dirty(instance, admin)
|
||||
|
||||
|
||||
_misc_config_i18n = [code for code, _ in settings.LANGUAGES]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue