diff --git a/tdrs-backend/tdpservice/data_files/admin/admin.py b/tdrs-backend/tdpservice/data_files/admin/admin.py index a74dfa717..8214b13a7 100644 --- a/tdrs-backend/tdpservice/data_files/admin/admin.py +++ b/tdrs-backend/tdpservice/data_files/admin/admin.py @@ -8,6 +8,7 @@ from django.conf import settings from django.utils.html import format_html from datetime import datetime, timedelta, timezone +from django.shortcuts import redirect DOMAIN = settings.FRONTEND_BASE_URL @@ -52,6 +53,7 @@ def reparse_cmd(self, request, queryset): % files.count(), messages.SUCCESS, ) + return redirect("/admin/search_indexes/reparsemeta/") def get_actions(self, request): """Return the actions."""