def folder_created_message(self, request, folder):
        """
        Send messages.success message after successful folder creation.
        """
        messages.success(request, _("Folder {} was created".format(folder)))
Send messages.success message after successful folder creation.