From 7c2e7a99f1d52c3bf0e6b41a3bc949755fc53d6f Mon Sep 17 00:00:00 2001 From: Your Name Date: Wed, 15 Feb 2023 15:49:41 -0500 Subject: [PATCH] add link to footer --- common/templates/partial/_footer.html | 1 + common/urls.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/common/templates/partial/_footer.html b/common/templates/partial/_footer.html index 0c0b3702..42fb96db 100644 --- a/common/templates/partial/_footer.html +++ b/common/templates/partial/_footer.html @@ -12,6 +12,7 @@ 捐助本站 {% endif %} 公告栏 + API diff --git a/common/urls.py b/common/urls.py index eb3dfd52..c18e195b 100644 --- a/common/urls.py +++ b/common/urls.py @@ -4,6 +4,6 @@ from .views import * app_name = "common" urlpatterns = [ path("", home), - path("api_doc", api_doc), + path("api-doc/", api_doc), path("home/", home, name="home"), ]