摘要:
from django.shortcuts import render,HttpResponse,redirectimport pymysql# Create your views here.def index(request): print(request.path_info) return Ht 阅读全文
摘要:
views: from django.shortcuts import render,HttpResponse,redirect# Create your views here.def index(request): print(request.path_info) return HttpRespo 阅读全文
摘要:
django使用mysql数据库: 首先cmd创建库 1、settings: """Django settings for day42 project.Generated by 'django-admin startproject' using Django 1.11.26.For more inf 阅读全文
摘要:
https://v3.bootcss.com/getting-started/ 查看网页源代码或检查: Ctrl+C+body: 阅读全文
摘要:
urls: """day42 URL ConfigurationThe `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.11/t 阅读全文