django项目开启debug页面操作有数据操作记录
在项目的主文件中setting中配置
"""
Django settings for ProjectPrictice project.Generated by 'django-admin startproject' using Django 3.0.1.For more information on this file, see
https://docs.djangoproject.com/en/3.0/topics/settings/For the full list of settings and their values, see
https://docs.djangoproject.com/en/3.0/ref/settings/
"""import os# Build paths inside the project like this: os.path.join(BASE_DIR, ...)
BASE_DIR = os.path.dirname