码迷,mamicode.com
首页 >  
搜索关键字:django url    ( 59195个结果
linux系统安装Git
yum -y install git yum方式安装源码,但版本很旧 git version 查看git版本 https://github.com/git/git/releases 上github下载最新版本git源码包,上传至服务器/opt/software(这次下载的是2.8.0版本) tar ...
分类:系统相关   时间:2021-04-29 12:02:09    阅读次数:0
创建数据库和表
在项目的配置文件 settings.py 中, INSTALLED_APPS 配置项 加入如下内容 INSTALLED_APPS = [ 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'dj ...
分类:数据库   时间:2021-04-29 11:45:56    阅读次数:0
django登录验证
from django.http import JsonResponse from django.contrib.auth import authenticate,login,logout # 登录处理 def signin(request): # 从 HTTP POST 请求中获取用户名、密码参数 ...
分类:其他好文   时间:2021-04-29 11:45:13    阅读次数:0
Pandas数据处理
Pandas数据处理: 导?数据 导出数据 查看数据 数据选取 数据处理 数据分组和排序 数据合并 # 在使用之前,需要导入pandas库 import pandas as pd 导?数据: pd.DataFrame() # 自己创建数据框,用于练习 pd.read_csv(filename) # ...
分类:其他好文   时间:2021-04-28 12:19:39    阅读次数:0
Beego路由设置
1.路由设置 Beego支持的路由的方式: ? 固定路由、正则路由和自动路由。 1.1固定路由 ? 介绍:完全匹配的路由,只有你请求的url匹配到了对应的路由,才会找对应的函数。 一个简单的例子: //在controllers中定义 type MainController struct { beeg ...
分类:其他好文   时间:2021-04-28 12:14:09    阅读次数:0
applicaiton.properties 配置
MySQL spring.datasource.url=jdbc:mysql://localhost:3306/twitter_test?useUnicode=true&characterEncoding=utf8&useSSL=false&serverTimezone=GMT%2B8spring. ...
分类:移动开发   时间:2021-04-27 14:38:30    阅读次数:0
hotkey 热key
hotkey(https://gitee.com/jd-platform-opensource/hotkey)是京东的一个 热 key 发现系统,他能够感知系统中访问频繁的资源,比如Redis key,接口url等,在发现此类情况后,能够通知到相关的应用,应用可采取一些自定义的措施。 hotkey ...
分类:其他好文   时间:2021-04-27 14:19:22    阅读次数:0
一个游戏活动的代码
运行环境python3.7 #coding=utf-8 import requests import time import json import re import sqlite3 url=[] for i in open("AURL.txt"): url.append(i) yaoqing=u ...
分类:其他好文   时间:2021-04-27 14:10:35    阅读次数:0
Net Core 读取json文件
一种是网上常见的一种 var builder1 = new ConfigurationBuilder().SetBasePath(Directory.GetCurrentDirectory()).AddJsonFile("appsettings.json"); var configuration = ...
分类:Web程序   时间:2021-04-26 14:01:34    阅读次数:0
taro封装request请求
export const request = (url, method = "GET", data) => { let _url = `${baseUrlPrefix}${url}`; return new Promise((resolve, reject) => { Taro.showLoadin ...
分类:其他好文   时间:2021-04-26 13:33:10    阅读次数:0
59195条   上一页 1 ... 27 28 29 30 31 ... 5920 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!