Comments (7)
从你这报错看就是数据库的连接有问题了,使用mysql时需要设定一个环境变量的,比如:
export DATABASE_URL=mysql://root:[email protected]/blog_mini
这里默认指定的端口是3306。
另外,没有图片服务器,所以确实需要第三方的图片链接,在后续版本中会改进这一点。
from blog_mini.
那我指定13333端口应该怎么指定呢
from blog_mini.
可以直接在文件里面定义成这样吗,直接修改配置文件就行,不用再声明变量
conn = pymysql.connect(host='127.0.0.1', port=3306, user='root', passwd='123',db='girl')
from blog_mini.
已解决
export DATABASE_URL=mysql://root:[email protected]:33333/blog_mini
from blog_mini.
请问在编辑文章的时候插入图片直接粘贴进去,不同再链接插入,这个功能好实现吗
from blog_mini.
实现应该不会太难,包括粘贴之后可以实现上传的功能,但这个需要前端插件的支持,具体我也没有研究过,你可以研究下。
from blog_mini.
好,闲了我看看,
from blog_mini.
Related Issues (20)
- 管理员登录后,右上角的头像无法显示 HOT 4
- 刚学习了Python16天,想试试你的博客系统,发生如下错误 !!! HOT 3
- UndefinedError: 'BlogInfo' is undefined HOT 5
- 博文标题 HOT 2
- 关于插入图片 HOT 1
- 网页去底部的问题 HOT 2
- 编辑博文时间太长提交会提示bad request HOT 1
- 关于ssl证书的问题 HOT 3
- 发表博文时点击提交没有任何反应 HOT 3
- 如果我要自定义发表时间,我该在哪个模块修改呢? HOT 2
- 数据迁移需要哪些操作? HOT 1
- ^_^建议教程中安装项目依赖的豆瓣源改成清华源 HOT 2
- 评论回复出存在bug
- Cross Site Scripting Vulnerability in Latest Release HOT 1
- Two Cross Site Scripting vulnerability in latest release HOT 2
- python2即将废弃,建议代码升级为python3, HOT 2
- 请问一下怎么保持博客持续运行 HOT 1
- 项目后续维护计划? HOT 4
- 在Article的模型中发现了一个错误 HOT 1
- Update for python3. https://github.com/huangtao36/Blog_mini HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from blog_mini.