摘要:
模版 1.寻找html模版 TEMPLATES = [ { 'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': [os.path.join(BASE_DIR, 'templates')], 'APP_DIRS': 阅读全文
posted @ 2024-03-28 19:53
Formerly0^0
阅读(28)
评论(0)
推荐(0)
摘要:
Django基础 1.Django小白必会三板斧 1.1 HttpResponse 返回纯文本或者JSON数据 from django.shortcuts import render, HttpResponse def index(request): print(request) # HttpRes 阅读全文
posted @ 2024-03-28 19:52
Formerly0^0
阅读(34)
评论(0)
推荐(0)

浙公网安备 33010602011771号