"""
Django settings for rfid_project project.
Generated by 'django-admin startproject' using Django 4.2.1.
For more information on this file, see
https://docs.djangoproject.com/en/4.2/topics/settings/
For the full list of settings and their values, see
https://docs.djangoproject.com/en/4.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/4.2/howto/deployment/checklist/
# SECURITY WARNING: keep the secret key used in production secret!
SECRET_KEY = 'django-insecure-yw1#rp5y71x3^rx6q+m8eo%l+a*ao-4eyen25h$@wg(m#e(*6@'
# 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',
'rfid_app'
]
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 = 'rfid_project.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 = 'rfid_project.wsgi.application'
# Database
# https://docs.djangoproject.com/en/4.2/ref/settings/#databases
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': BASE_DIR / 'db.sqlite3',
}
}
# Password validation
# https://docs.djangoproject.com/en/4.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/4.2/topics/i18n/
LANGUAGE_CODE = 'en-us'
TIME_ZONE = 'UTC'
USE_I18N = True
USE_TZ = True
# Static files (CSS, JavaScript, Images)
# https://docs.djangoproject.com/en/4.2/howto/static-files/
STATIC_URL = 'static/'
# Default primary key field type
# https://docs.djangoproject.com/en/4.2/ref/settings/#default-auto-field
DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField'
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
【资源介绍】 基于python的便利店商品入库管理系统源码.zip基于python的便利店商品入库管理系统源码.zip基于python的便利店商品入库管理系统源码.zip基于python的便利店商品入库管理系统源码.zip基于python的便利店商品入库管理系统源码.zip基于python的便利店商品入库管理系统源码.zip基于python的便利店商品入库管理系统源码.zip 该项目是个人毕设项目,答辩评审分达到95分,代码都经过调试测试,确保可以运行!欢迎下载使用,可用于小白学习、进阶。 该资源主要针对计算机、通信、人工智能、自动化等相关专业的学生、老师或从业者下载使用,亦可作为期末课程设计、课程大作业、毕业设计等。 项目整体具有较高的学习借鉴价值!基础能力强的可以在此基础上修改调整,以实现不同的功能。 欢迎下载交流,互相学习,共同进步!
资源推荐
资源详情
资源评论
收起资源包目录
基于python的便利店商品入库管理系统源码.zip (39个子文件)
db.sqlite3 144KB
rfid_project
__init__.py 0B
wsgi.py 401B
urls.py 971B
settings.py 3KB
__pycache__
__init__.cpython-311.pyc 174B
__init__.cpython-310.pyc 158B
settings.cpython-311.pyc 3KB
wsgi.cpython-310.pyc 571B
settings.cpython-310.pyc 2KB
urls.cpython-310.pyc 1KB
asgi.py 401B
manage.py 668B
rfid_app
__init__.py 0B
tests.py 60B
admin.py 35B
migrations
__init__.py 0B
0001_initial.py 570B
0004_tag_price.py 446B
0002_rfidcard.py 634B
0003_delete_rfidcard_tag_description_tag_name.py 627B
__pycache__
0002_rfidcard.cpython-310.pyc 753B
0004_tag_price.cpython-310.pyc 658B
0001_initial.cpython-310.pyc 726B
__init__.cpython-310.pyc 165B
0003_delete_rfidcard_tag_description_tag_name.cpython-310.pyc 745B
apps.py 147B
models.py 427B
templates
rfid_app
tag_detail.html 2KB
search.html 2KB
index.html 3KB
urls.py 370B
__pycache__
views.cpython-310.pyc 2KB
__init__.cpython-310.pyc 154B
apps.cpython-310.pyc 436B
admin.cpython-310.pyc 195B
urls.cpython-310.pyc 492B
models.cpython-310.pyc 778B
views.py 2KB
共 39 条
- 1
资源评论
- xiaoqi0070072024-03-06非常有用的资源,有一定的参考价值,受益匪浅,值得下载。
onnx
- 粉丝: 9625
- 资源: 5597
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功