下载sqlite3源码包tar xvfz sqlite-src-3.3.5cd sqlite-3.3.5./configure –no-tclmake python继续一次。 apt install -f 修复关系 http://www.mamicode.com/info-detail-173864 ...
分类:
数据库 时间:
2018-10-01 19:57:41
阅读次数:
169
编译安装:指定编译安装的目录以及为什么要这么做,创建软链接;yum安装:使用阿里源,安装pip,默认的安装目录。
分类:
编程语言 时间:
2018-09-30 21:26:10
阅读次数:
572
1.做些软链接和virtualenv的基本使用: 2.初始化数据库 python manage.py migrate 报错:django.db.utils.NotSupportedError: URIs not supported 版本问题,sqlite3.7.5竟然没有URLs文件,sqlite3 ...
分类:
编程语言 时间:
2018-09-30 14:54:05
阅读次数:
170
一,数据库连接 创建类 a. 在models.py中先写类 from django.db import models # 表名是app01_userinfo class UserInfo(models.Model): # id列,自增,主键 # 用户名列,字符串类型,指定长度 username = ...
分类:
数据库 时间:
2018-09-27 01:47:25
阅读次数:
170
import sqlite3, sys, logging, time, os, json, zlib, re'''MapDBImporter-latest -f png -mName "World Light" -mDescription "A simple, light grey world ma... ...
分类:
其他好文 时间:
2018-09-22 21:17:32
阅读次数:
159
auth认证在views.py文件中导入模块from django.contrib import auth 1. 注册超级用户 方式一:Django自带的多字段数据表 python manage.py migrate #迁移数据库db.sqlite3,产生一个多字段的数据表 python manag ...
分类:
其他好文 时间:
2018-09-21 23:15:48
阅读次数:
347
今天碰到了个郁闷的问题,svn执行clean up命令时报错“Previous operation has not finished; run 'cleanup' if it was interrupted”。无论你到那个父层次的目录执行“clean up “,都是报一样的错。执行cleanup时候 ...
分类:
其他好文 时间:
2018-09-19 11:35:56
阅读次数:
161
一:项目(github) ssh root@server ip # 连接你的服务器 git clone -b https://mygithub.com # -b 指定分支 安装virtualenv 详细见:https://www.cnblogs.com/tangpg/p/8458233.html ...
分类:
数据库 时间:
2018-09-11 11:30:59
阅读次数:
819
从sqlite进行导出数据 进行cmd命令 第一步:sqlite3->.open [文件路径](打开连接)->.tables(这个是查看表是否有没有)->.cd [切换的盘符](这里是方便找到导出的文件)->.output [导出的文件名.sql]->.dump 导出成功 更换符号 第二步:打开连接 ...
分类:
数据库 时间:
2018-09-09 15:27:27
阅读次数:
196
SQLite库包含一个名字叫做sqlite3的命令行,它可以让用户手工输入并执行面向SQLite数据库的SQL命令。本文档提供一个样使用sqlite3的简要说明. 一.qlite3一些常用Sql语句操作 一:命令 <1>打开某个数据库文件中 sqlite3 test.db <2>查看所有的命令介绍( ...
分类:
数据库 时间:
2018-09-07 14:17:18
阅读次数:
189