"""
Django settings for projectai project.
Generated by 'django-admin startproject' using Django 3.2.25.
For more information on this file, see
https://docs.djangoproject.com/en/3.2/topics/settings/
For the full list of settings and their values, see
https://docs.djangoproject.com/en/3.2/ref/settings/
"""
from pathlib import Path
# Build paths inside the project like this: BASE_DIR / 'subdir'.
BASE_DIR = Path(__file__).resolve().parent.parent
# Quick-start development settings - unsuitable for production
# See https://docs.djangoproject.com/en/3.2/howto/deployment/checklist/
# SECURITY WARNING: keep the secret key used in production secret!
SECRET_KEY = 'django-insecure-a(&8o8$z_*on&9!g3w&-gkwi=_#99siyb_jq1)3+(s#4o60vf^'
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True
ALLOWED_HOSTS = []
# Application definition
INSTALLED_APPS = [
'django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'app01', # 注册子应用app01
]
MIDDLEWARE = [
'django.middleware.security.SecurityMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.common.CommonMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.clickjacking.XFrameOptionsMiddleware',
]
ROOT_URLCONF = 'projectai.urls'
TEMPLATES = [
{
'BACKEND': 'django.template.backends.django.DjangoTemplates',
'DIRS': [],
'APP_DIRS': True,
'OPTIONS': {
'context_processors': [
'django.template.context_processors.debug',
'django.template.context_processors.request',
'django.contrib.auth.context_processors.auth',
'django.contrib.messages.context_processors.messages',
],
},
},
]
WSGI_APPLICATION = 'projectai.wsgi.application'
# Database
# https://docs.djangoproject.com/en/3.2/ref/settings/#databases
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': BASE_DIR / 'db.sqlite3',
}
}
# Password validation
# https://docs.djangoproject.com/en/3.2/ref/settings/#auth-password-validators
AUTH_PASSWORD_VALIDATORS = [
{
'NAME': 'django.contrib.auth.password_validation.UserAttributeSimilarityValidator',
},
{
'NAME': 'django.contrib.auth.password_validation.MinimumLengthValidator',
},
{
'NAME': 'django.contrib.auth.password_validation.CommonPasswordValidator',
},
{
'NAME': 'django.contrib.auth.password_validation.NumericPasswordValidator',
},
]
# Internationalization
# https://docs.djangoproject.com/en/3.2/topics/i18n/
LANGUAGE_CODE = 'en-us'
TIME_ZONE = 'UTC'
USE_I18N = True
USE_L10N = True
USE_TZ = True
# Static files (CSS, JavaScript, Images)
# https://docs.djangoproject.com/en/3.2/howto/static-files/
STATIC_URL = '/static/'
# Default primary key field type
# https://docs.djangoproject.com/en/3.2/ref/settings/#default-auto-field
DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField'
没有合适的资源?快使用搜索试试~ 我知道了~
24年人工智能大作业,暑期在校实训完整源码分享给需要的同学
共36个文件
pyc:16个
py:13个
xml:3个
需积分: 5 0 下载量 139 浏览量
2024-11-02
11:09:25
上传
评论
收藏 17KB ZIP 举报
温馨提示
人工智能大作业 介绍 24年人工智能大作业,暑期在校实训 软件架构 软件架构说明 python3.8 库的版本 Package Version absl-py 2.1.0 asgiref 3.7.2 astunparse 1.6.3 attrs 23.2.0 beautifulsoup4 4.12.3 cachetools 5.3.3 certifi 2022.12.7 cffi 1.15.1 charset-normalizer 3.3.2 click 8.1.7 colorama 0.4.6 cycler 0.11.0 Django 3.2.25 exceptiongroup 1.2.1 Flask 2.2.5 flatbuffers 24.3.25 fonttools 4.38.0 gast 0.4.0 google-auth 2.30.0 google-auth-oauthlib 0.4.6 google-pasta 0.2.0 grpcio 1.62.2 h11 0.14.0 h5py 3.8.0 idna 3.7 importlib-metadata 6.7.0 it
资源推荐
资源详情
资源评论
收起资源包目录
gfghfqwerweqr.zip (36个子文件)
db.sqlite3 0B
projectai
__init__.py 0B
wsgi.py 395B
urls.py 807B
settings.py 3KB
__pycache__
__init__.cpython-311.pyc 153B
settings.cpython-311.pyc 3KB
settings.cpython-37.pyc 2KB
__init__.cpython-37.pyc 131B
wsgi.cpython-311.pyc 679B
wsgi.cpython-37.pyc 538B
urls.cpython-37.pyc 970B
urls.cpython-311.pyc 1KB
asgi.py 395B
app01
__init__.py 0B
tests.py 60B
admin.py 63B
migrations
__init__.py 0B
__pycache__
__init__.cpython-37.pyc 138B
apps.py 142B
models.py 57B
templates
index.html 166B
__pycache__
__init__.cpython-311.pyc 149B
views.cpython-311.pyc 383B
views.cpython-37.pyc 293B
admin.cpython-37.pyc 168B
models.cpython-37.pyc 165B
__init__.cpython-37.pyc 127B
apps.cpython-37.pyc 398B
views.py 123B
.idea
misc.xml 379B
inspectionProfiles
profiles_settings.xml 174B
modules.xml 270B
projectai.iml 468B
.gitignore 47B
manage.py 665B
共 36 条
- 1
资源评论
程序猿小D
- 粉丝: 4231
- 资源: 877
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- Android四种Activity的加载模式最新版本
- androidcamera(一)camera模组CMM介绍2.55MB最新版本
- Android-listview与adapter用法最新版本
- android修改system.img方法最新版本
- PID控制pidarduino库源码.rar
- Win7安装Android-Studio方法详解最新版本
- C++ 智能指针家族中的黄金搭档:std::shared-ptr 与 std::weak-ptr 协同工作机制全解析
- 基于中科院seetaface2进行封装的JAVA人脸识别算法库,支持人脸识别、1:1比对、1:N比对 seetaface2
- YOLOv3 多尺度方法改进与特征融合的深度探索与实现
- 小程序修改-网易云音乐.zip
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功