上一页 1 ··· 3 4 5 6 7 8 下一页
摘要: 1.在项目文件比较多的情况下,为了方便查看整体和及时定位到项目文件,通常会同时使用Project Explorer视图与Package Explorer视图。 2.打开Project Explorer视图与Package Explorer视图。 a.打开Project Explorer视图:wind 阅读全文
posted @ 2021-04-30 14:11 def_Class 阅读(690) 评论(0) 推荐(0) 编辑
摘要: 在开发Python应用程序的时候,系统安装的Python3只有一个版本:3.4。所有第三方的包都会被pip安装到Python3的site-packages目录下。 如果我们要同时开发多个应用程序,那这些应用程序都会共用一个Python,就是安装在系统的Python 3。如果应用A需要jinja 2. 阅读全文
posted @ 2021-04-22 23:40 def_Class 阅读(41) 评论(0) 推荐(0) 编辑
摘要: 查看用户: net user查看当前用户: whoami 阅读全文
posted @ 2021-03-25 14:02 def_Class 阅读(2311) 评论(0) 推荐(0) 编辑
摘要: from django.shortcuts import render, HttpResponse from django.http import StreamingHttpResponse import os def index(request): return render(request,"i 阅读全文
posted @ 2021-03-01 14:07 def_Class 阅读(692) 评论(0) 推荐(0) 编辑
摘要: 树莓派配置固定IP地址 1、编辑文件/etc/dhcpcd.confroot@raspberrypi:~# vi /etc/dhcpcd.conf 2、修改以下参数配置,如果没有就在文件底部添加有线配置:interface eth0static ip_address=192.168.1.188/24 阅读全文
posted @ 2021-02-08 14:10 def_Class 阅读(615) 评论(0) 推荐(0) 编辑
摘要: 1、下载xrdp sudo apt-get install xrdp 2、重启服务 sudo service xrdp restart 3、远程桌面 阅读全文
posted @ 2021-01-28 15:04 def_Class 阅读(164) 评论(0) 推荐(0) 编辑
摘要: 树莓派做私有云盘-极简版(owncloud) 这里直接给出配置好私有云的镜像,只需烧录镜像后微改配置后即可使用 链接:https://pan.baidu.com/s/1EOQaSQso-0wmnuWgZKknZg 提取码:q26h 1、直接将此镜像烧录 系统登录用户名:pi 密码:yahboom 2、查看IP 3、私有云更换可信域名 找到con 阅读全文
posted @ 2021-01-28 14:33 def_Class 阅读(608) 评论(0) 推荐(0) 编辑
摘要: 打开settings.py,在底部添加: import os STATIC_URL = '/static/' STATICFILES_DIRS = ( os.path.join(os.path.dirname(__file__), '../static/').replace('\\','/'), ) 阅读全文
posted @ 2020-09-08 16:00 def_Class 阅读(1209) 评论(0) 推荐(0) 编辑
摘要: 目前能够提供Web网络服务的程序有 IIS、 Nginx和 Apache等。其中,IIS (Internet Information Services,互联网信息服务)是 Windows系统中默认的 Web服务程序。但是,IIS只能在 Windows系统中使用。 Apache(音译为阿帕奇)是世界使 阅读全文
posted @ 2020-08-11 15:38 def_Class 阅读(985) 评论(0) 推荐(0) 编辑
摘要: 基本的创建与查询 # -*- coding: utf-8 -*- from django.http import HttpResponse from TestModel.models import Test """# 数据库操作--新建数据 def testdb(request): test1 = 阅读全文
posted @ 2020-08-04 10:52 def_Class 阅读(177) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 下一页