From ea303b036943933f6d43d31bcffdab9414c87566 Mon Sep 17 00:00:00 2001 From: Chrissy Wainwright Date: Thu, 13 Mar 2025 17:51:26 -0500 Subject: [PATCH] Update URLs pointing to /reviews refs #1659 Change to point to /doc/formal-reviews/submissions.html --- config/urls.py | 10 ++++++++-- core/tests/content/leaf.html | 2 +- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/config/urls.py b/config/urls.py index 3bff7c7f..2e0cb800 100755 --- a/config/urls.py +++ b/config/urls.py @@ -3,8 +3,9 @@ import logging from django.conf import settings from django.conf.urls.static import static from django.contrib import admin -from django.urls import include, path, re_path, register_converter +from django.urls import include, path, re_path, register_converter, reverse_lazy from django.views.generic import TemplateView +from django.views.generic.base import RedirectView from rest_framework import routers from ak.views import ( @@ -328,7 +329,12 @@ urlpatterns = ( ), path( "review/", - TemplateView.as_view(template_name="review/review_process.html"), + RedirectView.as_view( + url=reverse_lazy( + "docs-user-guide", content_path="formal-reviews/submissions.html" + ), + permanent=True, + ), name="review-process", ), path( diff --git a/core/tests/content/leaf.html b/core/tests/content/leaf.html index 82a400d2..a562f6a4 100644 --- a/core/tests/content/leaf.html +++ b/core/tests/content/leaf.html @@ -455,7 +455,7 @@ html.dark {