Skip to content

Commit

Permalink
支持python2 的编码 # -*- coding: utf-8 -*-
Browse files Browse the repository at this point in the history
  • Loading branch information
newpanjing committed Feb 1, 2019
1 parent 9114463 commit c19095d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,9 @@ SIMPLEUI_HOME_ICON = 'layui-icon-rate'

## version 1.4.5
+ 增加自定义首页功能
## version 1.4.6
+ 加入 `# -*- coding: utf-8 -*-` 以支持python2


## v1.4版预览图

Expand Down
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# -*- coding: utf-8 -*-
import sys
from setuptools import setup

Expand All @@ -13,7 +14,7 @@

setup(
name='django-simpleui',
version='1.4.5',
version='1.4.6',
packages=['simpleui'],
zip_safe=False,
include_package_data=True,
Expand Down
2 changes: 2 additions & 0 deletions simpleui/templatetags/simpletags.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-

import jieba
from django import template
from django.utils.html import format_html
Expand Down

0 comments on commit c19095d

Please sign in to comment.