feat(scenarios): 支持场景配置加载与首页展示
This commit is contained in:
7
apps/scenarios/views.py
Normal file
7
apps/scenarios/views.py
Normal file
@@ -0,0 +1,7 @@
|
||||
from django.shortcuts import render
|
||||
|
||||
from .services import list_scenarios
|
||||
|
||||
|
||||
def index(request):
|
||||
return render(request, "scenarios/index.html", {"scenarios": list_scenarios()})
|
||||
Reference in New Issue
Block a user