Skip to content

Commit

Permalink
redirect to meta model
Browse files Browse the repository at this point in the history
  • Loading branch information
raftmsohani committed Sep 20, 2024
1 parent 1c19e87 commit 98bd857
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tdrs-backend/tdpservice/data_files/admin/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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."""
Expand Down

0 comments on commit 98bd857

Please sign in to comment.