@receiver(post_save, sender=Release)
def update_download_supernav(sender, instance, **kwargs):
 if kwargs.get('raw', False):
  return
 if instance.is_published:
  update_supernav()
  update_homepage_download_box()

@ receiver ( post_save , sender = Release ) def update_download_supernav ( sender , instance , ** kwargs ) : if kwargs . get ( 'raw' , False ) : return if instance . is_published : update_supernav ( ) update_homepage_download_box ( )
update download supernav .