https://jinja.palletsprojects.com/en/2.11.x/templates/#filters
https://docs.djangoproject.com/zh-hans/3.1/ref/templates/builtins/
from django.urls import path, re_path, include
urlpatterns = [
path("index/", include("mysite.urls", namespace="index")),
]
from django.urls import path
from mysite import views
app_name = "mysite"
urlpatterns = [
path("", views.index, name="indexinfo"),
]
from django.shortcuts import render
def index(request):
return render(request, "index.html", context={