Skip to content

Commit

Permalink
优化页面样式,改进功能
Browse files Browse the repository at this point in the history
  • Loading branch information
newpanjing committed Aug 24, 2019
1 parent 647a731 commit 36cc418
Show file tree
Hide file tree
Showing 9 changed files with 180 additions and 150 deletions.
3 changes: 2 additions & 1 deletion myblog/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@
'HOST': 'mysql.oracle.com',
'PORT': '3306',
'OPTIONS': {'charset': 'utf8mb4'},
'CONN_MAX_AGE': 600
}
}

Expand Down Expand Up @@ -139,7 +140,7 @@
# os.path.join(BASE_DIR, "static"),
# ]
STATIC_ROOT = os.path.join(BASE_DIR, "static")

COMPRESS_ROOT = STATIC_ROOT
UEDITOR_UPLOAD_PREFIX = "/static/upload/"
UEDITOR_UPLOAD_DIR = os.path.join(BASE_DIR, 'static/upload/')

Expand Down
5 changes: 3 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Django==2.2.1
Django==2.1.4
django-simpleui
pytz==2019.1
shortid8==1.0
Expand All @@ -11,4 +11,5 @@ mysqlclient
redis
oss2
jieba
Whoosh
Whoosh
pymysql
84 changes: 58 additions & 26 deletions static/css/style.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 36cc418

Please sign in to comment.