Django 信息
Request information
USER
admin
GET
No GET data
POST
No POST data
FILES
No FILES data
COOKIES
Variable | Value |
---|---|
sessionid |
'knafakoz6it7e3k3l4kd2gc7bm7j7y6u' |
csrftoken |
'qrunzAcGeNWH4kV3FfXzftnIgfv94PJBv7n2Vix9XmA4o6KpN7nUoQx1q9QgAM6D' |
META
Variable | Value |
---|---|
ALLUSERSPROFILE |
'C:\\ProgramData' |
APPDATA |
'C:\\Users\\zhangqiang\\AppData\\Roaming' |
ASL.LOG |
'Destination=file' |
COMMONPROGRAMFILES |
'C:\\Program Files (x86)\\Common Files' |
COMMONPROGRAMFILES(X86) |
'C:\\Program Files (x86)\\Common Files' |
COMMONPROGRAMW6432 |
'C:\\Program Files\\Common Files' |
COMPUTERNAME |
'ICEMONKEY' |
COMSPEC |
'C:\\WINDOWS\\system32\\cmd.exe' |
CONTENT_LENGTH |
'' |
CONTENT_TYPE |
'text/plain' |
CSRF_COOKIE |
'qrunzAcGeNWH4kV3FfXzftnIgfv94PJBv7n2Vix9XmA4o6KpN7nUoQx1q9QgAM6D' |
DJANGO_SETTINGS_MODULE |
'devops.settings' |
DRIVERDATA |
'C:\\Windows\\System32\\Drivers\\DriverData' |
FPS_BROWSER_APP_PROFILE_STRING |
'Internet Explorer' |
FPS_BROWSER_USER_PROFILE_STRING |
'Default' |
GATEWAY_INTERFACE |
'CGI/1.1' |
HOMEDRIVE |
'C:' |
HOMEPATH |
'\\Users\\zhangqiang' |
HTTP_ACCEPT |
'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8' |
HTTP_ACCEPT_ENCODING |
'gzip, deflate' |
HTTP_ACCEPT_LANGUAGE |
'zh-CN,zh;q=0.8,zh-TW;q=0.7,zh-HK;q=0.5,en-US;q=0.3,en;q=0.2' |
HTTP_CACHE_CONTROL |
'max-age=0' |
HTTP_CONNECTION |
'keep-alive' |
HTTP_COOKIE |
('csrftoken=qrunzAcGeNWH4kV3FfXzftnIgfv94PJBv7n2Vix9XmA4o6KpN7nUoQx1q9QgAM6D; ' |
HTTP_HOST |
'127.0.0.1:8000' |
HTTP_REFERER |
'http://127.0.0.1:8000/' |
HTTP_UPGRADE_INSECURE_REQUESTS |
'1' |
HTTP_USER_AGENT |
'Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Firefox/60.0' |
LOCALAPPDATA |
'C:\\Users\\zhangqiang\\AppData\\Local' |
LOGONSERVER |
'\\\\ICEMONKEY' |
NUMBER_OF_PROCESSORS |
'4' |
ONEDRIVE |
'C:\\Users\\zhangqiang\\OneDrive' |
OS |
'Windows_NT' |
PATH |
('C:\\Program Files (x86)\\Intel\\iCLS Client\\;C:\\Program Files\\Intel\\iCLS ' |
PATHEXT |
'.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' |
PATH_INFO |
'/accounts/changepassword/' |
PROCESSOR_ARCHITECTURE |
'x86' |
PROCESSOR_ARCHITEW6432 |
'AMD64' |
PROCESSOR_IDENTIFIER |
'Intel64 Family 6 Model 142 Stepping 9, GenuineIntel' |
PROCESSOR_LEVEL |
'6' |
PROCESSOR_REVISION |
'8e09' |
PROGRAMDATA |
'C:\\ProgramData' |
PROGRAMFILES |
'C:\\Program Files (x86)' |
PROGRAMFILES(X86) |
'C:\\Program Files (x86)' |
PROGRAMW6432 |
'C:\\Program Files' |
PROMPT |
'(devops-env35) $P$G' |
PSMODULEPATH |
('C:\\Program ' |
PUBLIC |
'C:\\Users\\Public' |
PYCHARM_HOSTED |
'1' |
PYCHARM_MATPLOTLIB_PORT |
'54172' |
PYTHONIOENCODING |
'UTF-8' |
PYTHONPATH |
('C:\\Software\\PyCharm ' |
PYTHONUNBUFFERED |
'1' |
QUERY_STRING |
'' |
REMOTE_ADDR |
'127.0.0.1' |
REMOTE_HOST |
'' |
REQUEST_METHOD |
'GET' |
RUN_MAIN |
'true' |
SCRIPT_NAME |
'' |
SERVER_NAME |
'IceMonkey' |
SERVER_PORT |
'8000' |
SERVER_PROTOCOL |
'HTTP/1.1' |
SERVER_SOFTWARE |
'WSGIServer/0.2' |
SESSIONNAME |
'Console' |
SYSTEMDRIVE |
'C:' |
SYSTEMROOT |
'C:\\WINDOWS' |
TEMP |
'C:\\Users\\ZHANGQ~1\\AppData\\Local\\Temp' |
TMP |
'C:\\Users\\ZHANGQ~1\\AppData\\Local\\Temp' |
USERDOMAIN |
'ICEMONKEY' |
USERDOMAIN_ROAMINGPROFILE |
'ICEMONKEY' |
USERNAME |
'zhangqiang' |
USERPROFILE |
'C:\\Users\\zhangqiang' |
VIRTUAL_ENV |
'C:\\Users\\zhangqiang\\Envs\\devops-env35' |
WINDIR |
'C:\\WINDOWS' |
_OLD_VIRTUAL_PATH |
('C:\\Program Files (x86)\\Intel\\iCLS Client\\;C:\\Program Files\\Intel\\iCLS ' |
_OLD_VIRTUAL_PROMPT |
'$P$G' |
wsgi.errors |
<_io.TextIOWrapper name='<stderr>' mode='w' encoding='UTF-8'> |
wsgi.file_wrapper |
'' |
wsgi.input |
<_io.BufferedReader name=1336> |
wsgi.multiprocess |
False |
wsgi.multithread |
True |
wsgi.run_once |
False |
wsgi.url_scheme |
'http' |
wsgi.version |
(1, 0) |
Settings Using settings module devops.settings
Setting | Value |
---|---|
ABSOLUTE_URL_OVERRIDES |
{} |
ADMINS |
[] |
ALLOWED_HOSTS |
[] |
APPEND_SLASH |
False |
AUTHENTICATION_BACKENDS |
['django.contrib.auth.backends.ModelBackend'] |
AUTH_PASSWORD_VALIDATORS |
'********************' |
AUTH_USER_MODEL |
'accounts.UserInfo' |
BASE_DIR |
'C:\\Disk_D\\pycharm_stu\\devops' |
CACHES |
{'default': {'BACKEND': 'django_redis.cache.RedisCache', |
CACHE_MIDDLEWARE_ALIAS |
'default' |
CACHE_MIDDLEWARE_KEY_PREFIX |
'********************' |
CACHE_MIDDLEWARE_SECONDS |
600 |
CSRF_COOKIE_AGE |
31449600 |
CSRF_COOKIE_DOMAIN |
None |
CSRF_COOKIE_HTTPONLY |
False |
CSRF_COOKIE_NAME |
'csrftoken' |
CSRF_COOKIE_PATH |
'/' |
CSRF_COOKIE_SECURE |
False |
CSRF_FAILURE_VIEW |
'django.views.csrf.csrf_failure' |
CSRF_HEADER_NAME |
'HTTP_X_CSRFTOKEN' |
CSRF_TRUSTED_ORIGINS |
[] |
CSRF_USE_SESSIONS |
False |
DATABASES |
{'default': {'ATOMIC_REQUESTS': False, |
DATABASE_ROUTERS |
[] |
DATA_UPLOAD_MAX_MEMORY_SIZE |
2621440 |
DATA_UPLOAD_MAX_NUMBER_FIELDS |
1000 |
DATETIME_FORMAT |
'N j, Y, P' |
DATETIME_INPUT_FORMATS |
['%Y-%m-%d %H:%M:%S', |
DATE_FORMAT |
'N j, Y' |
DATE_INPUT_FORMATS |
['%Y-%m-%d', |
DEBUG |
True |
DEBUG_PROPAGATE_EXCEPTIONS |
False |
DECIMAL_SEPARATOR |
'.' |
DEFAULT_CHARSET |
'utf-8' |
DEFAULT_CONTENT_TYPE |
'text/html' |
DEFAULT_EXCEPTION_REPORTER_FILTER |
'django.views.debug.SafeExceptionReporterFilter' |
DEFAULT_FILE_STORAGE |
'django.core.files.storage.FileSystemStorage' |
DEFAULT_FROM_EMAIL |
'webmaster@localhost' |
DEFAULT_INDEX_TABLESPACE |
'' |
DEFAULT_TABLESPACE |
'' |
DISALLOWED_USER_AGENTS |
[] |
EMAIL_BACKEND |
'django.core.mail.backends.smtp.EmailBackend' |
EMAIL_HOST |
'localhost' |
EMAIL_HOST_PASSWORD |
'********************' |
EMAIL_HOST_USER |
'' |
EMAIL_PORT |
25 |
EMAIL_SSL_CERTFILE |
None |
EMAIL_SSL_KEYFILE |
'********************' |
EMAIL_SUBJECT_PREFIX |
'[Django] ' |
EMAIL_TIMEOUT |
None |
EMAIL_USE_LOCALTIME |
False |
EMAIL_USE_SSL |
False |
EMAIL_USE_TLS |
False |
FILE_CHARSET |
'utf-8' |
FILE_UPLOAD_DIRECTORY_PERMISSIONS |
None |
FILE_UPLOAD_HANDLERS |
['django.core.files.uploadhandler.MemoryFileUploadHandler', |
FILE_UPLOAD_MAX_MEMORY_SIZE |
2621440 |
FILE_UPLOAD_PERMISSIONS |
None |
FILE_UPLOAD_TEMP_DIR |
None |
FIRST_DAY_OF_WEEK |
0 |
FIXTURE_DIRS |
[] |
FORCE_SCRIPT_NAME |
None |
FORMAT_MODULE_PATH |
None |
FORM_RENDERER |
'django.forms.renderers.DjangoTemplates' |
IGNORABLE_404_URLS |
[] |
INSTALLED_APPS |
['django.contrib.admin', |
INTERNAL_IPS |
[] |
LANGUAGES |
[('af', 'Afrikaans'), |
LANGUAGES_BIDI |
['he', 'ar', 'fa', 'ur'] |
LANGUAGE_CODE |
'zh_Hans' |
LANGUAGE_COOKIE_AGE |
None |
LANGUAGE_COOKIE_DOMAIN |
None |
LANGUAGE_COOKIE_NAME |
'django_language' |
LANGUAGE_COOKIE_PATH |
'/' |
LOCALE_PATHS |
[] |
LOGGING |
{} |
LOGGING_CONFIG |
'logging.config.dictConfig' |
LOGIN_REDIRECT_URL |
'/accounts/profile/' |
LOGIN_URL |
'/accounts/login/' |
LOGOUT_REDIRECT_URL |
None |
MANAGERS |
[] |
MEDIA_ROOT |
'C:\\Disk_D\\pycharm_stu\\devops\\media' |
MEDIA_URL |
'/media/' |
MESSAGE_STORAGE |
'django.contrib.messages.storage.fallback.FallbackStorage' |
MIDDLEWARE |
['django.middleware.security.SecurityMiddleware', |
MIDDLEWARE_CLASSES |
['django.middleware.common.CommonMiddleware', |
MIGRATION_MODULES |
{} |
MONTH_DAY_FORMAT |
'F j' |
NUMBER_GROUPING |
0 |
PASSWORD_HASHERS |
'********************' |
PASSWORD_RESET_TIMEOUT_DAYS |
'********************' |
PREPEND_WWW |
False |
ROOT_URLCONF |
'devops.urls' |
SECRET_KEY |
'********************' |
SECURE_BROWSER_XSS_FILTER |
False |
SECURE_CONTENT_TYPE_NOSNIFF |
False |
SECURE_HSTS_INCLUDE_SUBDOMAINS |
False |
SECURE_HSTS_PRELOAD |
False |
SECURE_HSTS_SECONDS |
0 |
SECURE_PROXY_SSL_HEADER |
None |
SECURE_REDIRECT_EXEMPT |
[] |
SECURE_SSL_HOST |
None |
SECURE_SSL_REDIRECT |
False |
SERVER_EMAIL |
'root@localhost' |
SESSION_CACHE_ALIAS |
'session' |
SESSION_COOKIE_AGE |
1209600 |
SESSION_COOKIE_DOMAIN |
None |
SESSION_COOKIE_HTTPONLY |
True |
SESSION_COOKIE_NAME |
'sessionid' |
SESSION_COOKIE_PATH |
'/' |
SESSION_COOKIE_SECURE |
False |
SESSION_ENGINE |
'django.contrib.sessions.backends.cache' |
SESSION_EXPIRE_AT_BROWSER_CLOSE |
False |
SESSION_FILE_PATH |
None |
SESSION_SAVE_EVERY_REQUEST |
False |
SESSION_SERIALIZER |
'django.contrib.sessions.serializers.JSONSerializer' |
SETTINGS_MODULE |
'devops.settings' |
SHORT_DATETIME_FORMAT |
'm/d/Y P' |
SHORT_DATE_FORMAT |
'm/d/Y' |
SIGNING_BACKEND |
'django.core.signing.TimestampSigner' |
SILENCED_SYSTEM_CHECKS |
[] |
STATICFILES_DIRS |
('C:\\Disk_D\\pycharm_stu\\devops\\static',) |
STATICFILES_FINDERS |
['django.contrib.staticfiles.finders.FileSystemFinder', |
STATICFILES_STORAGE |
'django.contrib.staticfiles.storage.StaticFilesStorage' |
STATIC_ROOT |
None |
STATIC_URL |
'/static/' |
TEMPLATES |
[{'APP_DIRS': True, |
TEST_NON_SERIALIZED_APPS |
[] |
TEST_RUNNER |
'django.test.runner.DiscoverRunner' |
THOUSAND_SEPARATOR |
',' |
TIME_FORMAT |
'P' |
TIME_INPUT_FORMATS |
['%H:%M:%S', '%H:%M:%S.%f', '%H:%M'] |
TIME_ZONE |
'Asia/Shanghai' |
USE_ETAGS |
False |
USE_I18N |
True |
USE_L10N |
True |
USE_THOUSAND_SEPARATOR |
False |
USE_TZ |
False |
USE_X_FORWARDED_HOST |
False |
USE_X_FORWARDED_PORT |
False |
WSGI_APPLICATION |
'devops.wsgi.application' |
X_FRAME_OPTIONS |
'SAMEORIGIN' |
YEAR_MONTH_FORMAT |
'F Y' |
Django 信息的更多相关文章
- Django信息安全相关之CSRF和XSS
什么是xss攻击 xss攻击:黑客把恶意的JS脚本提交到后端,后端把恶意脚本渲染显示出来 什么是CSRF? 1.你登录建行官网后 你的浏览器就保存了建行网站的cokie,(如果不关闭这个页面c ...
- Django Views and URLconfs
碧玉妆成一树高,万条垂下绿丝绦. 不知细叶谁裁出,二月春风似剪刀. 原文尽在:http://djangobook.com/ 转载请注明出处:http://www.cnblogs.com/A-FM/p/ ...
- Django:(02)项目配置
上一篇我们创建了一个Django项目,并且让它运行了起来了. 当是,我们还没有使用到我们创建的应用,以及templates模版目录. 需求: 在此之前我们根据需要对我们的项目进行配置修改. 在项目开发 ...
- django学习-1.开始hello world!
1.前言 当你想走上测试开发之路,用python开发出一个web页面的时候,需要找一个支持python语言的web框架.django框架有丰富的文档和学习资料,也是非常成熟的web开发框架,想学pyt ...
- Django整理(四) - URL配置
1. URL配置 一.需求 1. 需求:在浏览器访问URL地址 http://127.0.0.1:8000/users/index 时,显示hello django信息 2. 实现 i. 需要编写一个 ...
- Django整理(二) - 视图和模板的初步使用
Django中的视图 · Django使用视图来编写web应用的业务逻辑 · Django的视图也就是一个函数,可称为视图函数 · 视图定义在应用的view.py文件中 · 视图需要绑定一个URL地址 ...
- Python开源框架
info:更多Django信息url:https://www.oschina.net/p/djangodetail: Django 是 Python 编程语言驱动的一个开源模型-视图-控制器(MVC) ...
- java笔记整理
Java 笔记整理 包含内容 Unix Java 基础, 数据库(Oracle jdbc Hibernate pl/sql), web, JSP, Struts, Ajax Spring, E ...
- Django ORM - 001 - 外键表查询主表信息
开始用Django做web开发,我想大家都会遇到同样的问题,那就是如何高效快速的查询需要的数据,MVC都很简单,但是ORM折腾起来就有些费时间,我准备好好研究下Django ORM,所以会有一个系列的 ...
随机推荐
- 惊艳,Dubbo域名已改,也不再局限于Java!
今天作者想去 Dubbo 官网查下相关资料,发现官方域名由 dubbo.io 直接跳转至 dubbo.apache.org 下了,然后突然回想起 Dubbo 已经在 2 月份正式进入了 Apache ...
- python多进程没有锁队列范例
假设有一些任务要完成.为了完成这项任务,将使用几个过程.所以,将保持两个队列.一个包含任务,另一个包含已完成任务的日志. 然后实例化流程来完成任务.请注意,python队列类已经同步. 这意味着,我们 ...
- Rip配置
Rip配置 首先建立如图拓扑图 分别配置两台电脑的ip地址和子网掩码和网关.如图所示. 在router0上配置两个端口的IP以及子网掩码 在路由器router0上配置rip2协议.里面的no auto ...
- Nginx + Keepalived负载均衡
第一步: 下载keepalived地址:http://www.keepalived.org/download.html 解压安装: tar -zxvf keepalived-1.2.18.tar.gz ...
- Spring Boot + Spring Cloud 实现权限管理系统 后端篇(十四):项目打包部署
项目打包部署 安装MySQL镜像 注意:如果使用docker镜像安装MySQL,也需要在前端部署主机安装MySQL,因为备份还原功能是使用MySQL的本地命令进行操作的. 下载镜像 执行以下命令,拉取 ...
- Adam
Adam 方法 Adam 方法将惯性保持和环境感知这两个优点集于一身.一方面, Adam 记录梯度的一阶矩(first moment),即过往梯度与当前梯度的平均,这体现了惯性保持:另一方面,Adam ...
- iOS开发必会的坐标系探究
欢迎大家前往腾讯云+社区,获取更多腾讯海量技术实践干货哦~ 本文由落影发表于云+社区专栏 前言 app在渲染视图时,需要在坐标系中指定绘制区域. 这个概念看似乎简单,事实并非如此. When an a ...
- 如何在线显示php源代码
通过php提供的函数highlight_file和highlight_string实现
- ZOJ 1456 Minimum Transport Cost(Floyd算法求解最短路径并输出最小字典序路径)
题目链接: https://vjudge.net/problem/ZOJ-1456 These are N cities in Spring country. Between each pair of ...
- C# 中的集合(Array/ArrayList/List<T>/HashTable/Dictionary)
int [] numbers = new int[5]; // 长度为5,元素类型为 int.string[,] names = new string[5,4]; // 5*4 的二维数组byte[] ...