def METHOD_NAME(self, request, extra_context=None):
    self.__save_model_calls = 0
    with NavigationBar.objects.disable_mptt_updates():
        result = super(NavigationBarAdmin, self).METHOD_NAME(request, extra_context)
    if self.__save_model_calls:
        with LockModel(write=(NavigationBar,)):
            NavigationBar.objects.rebuild()
    return result