2020年1月17日

centos7下,django操作mysql数据库数据;

摘要: 注:centos7下需安装python3,mysql,mysqlclient,Django django中创建应用: 1.创建项目目录(如:mkdir Django_project); 2.创建一个项目Helloworld (django-admin startproject HelloWorld) 阅读全文

posted @ 2020-01-17 15:59 星空6 阅读(356) 评论(0) 推荐(0)

Django模型,创建应用;

摘要: Django对各种数据库提供了很好的支持,包括:PostgreSQL、MySQL、SQLite、Oracle; MySQL是Web应用中最常用的数据库; 本文以mysql为例,本人centos7下安装了python2,python3,涉及到python3的使用pip3,python3; django 阅读全文

posted @ 2020-01-17 15:44 星空6 阅读(189) 评论(0) 推荐(0)

阿里云centos7安装mysqlclient,报错mysql_config:command not found

摘要: 注: 1.阿里云centos7安装了python2,python3,涉及到python3的使用pip3,python3; 2.centos7下已安装mysql5.7.29; 一、安装mysqlclient,pip3 install mysqlclient,报如下图错误; 二、解决方法,yum ins 阅读全文

posted @ 2020-01-17 11:29 星空6 阅读(1599) 评论(0) 推荐(0)

导航