update
This commit is contained in:
+1
-1
@@ -3,7 +3,7 @@ from django.urls import path
|
||||
from server.views import *
|
||||
|
||||
urlpatterns = [
|
||||
path('list', list),
|
||||
path('', list),
|
||||
path('detail', detail),
|
||||
path('jsmind_op', JsMindCallbackView.as_view()),
|
||||
]
|
||||
|
||||
+2
-2
@@ -10,14 +10,14 @@ def list(request):
|
||||
"""
|
||||
列表界面
|
||||
"""
|
||||
return render(request, "list.html")
|
||||
return render(request, "html/list.html")
|
||||
|
||||
|
||||
def detail(request):
|
||||
"""
|
||||
详情页面
|
||||
"""
|
||||
return render(request, "detail.html")
|
||||
return render(request, "html/detail.html")
|
||||
|
||||
|
||||
class JsMindLogView(GenericAPIView):
|
||||
|
||||
Reference in New Issue
Block a user