File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 1414
1515DB_URL = 'mysql://root:Xichao42@localhost/xichao?charset=utf8'
1616RDS_DB_URL = 'mysql://xichao:Xichao42@rdszfuv6jmjjbei.mysql.rds.aliyuncs.com:3306/xichao?charset=utf8'
17- engine = create_engine (RDS_DB_URL , echo = True , convert_unicode = True )
17+ engine = create_engine (DB_URL , echo = True , convert_unicode = True )
1818
1919db_session = scoped_session (sessionmaker (autocommit = False ,
2020 autoflush = False ,
Original file line number Diff line number Diff line change @@ -173,7 +173,7 @@ <h2> {{ author.nick }} </h2>
173173 该作者没有其他文章
174174 {% endif %}
175175 {% for article in author_other %}
176- < a href ="{{ url_for('article', article_id=article[1])}} "> {{article[0]}}</ a >
176+ < a href ="{{ url_for('article', article_id=article[1])}} " style =" height:16px; overflow:hidden " > {{article[0]}}</ a >
177177 {% endfor %}
178178 </ div >
179179 </ div >
You can’t perform that action at this time.
0 commit comments