Skip to content

Commit 157e7ce

Browse files
committed
Release v0.5.1
1 parent 9882ac7 commit 157e7ce

File tree

1 file changed

+1
-13
lines changed

1 file changed

+1
-13
lines changed

docs/reference/configure.md

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,7 @@
22

33
## 定义
44

5-
django-echarts 遵循统一配置的原则,所有的配置均定义在项目配置模块一个名为 `settings.DJANGO_ECHARTS` 变量中,该变量可以指向
6-
7-
- 一个`dict`对象
8-
- `django_echarts.core.settings_store.DJEOpts` 对象
5+
django-echarts 遵循统一配置的原则,所有的配置均定义在项目配置模块一个名为 `settings.DJANGO_ECHARTS` 变量中,该变量指向一个`dict`对象。
96

107
例子( *settings.py*)
118

@@ -14,15 +11,6 @@ DJANGO_ECHARTS = {
1411
'echarts_version': '4.8.0',
1512
'dms_repo': 'pyecharts'
1613
}
17-
18-
# 或者
19-
20-
from django_echarts.core.dms import DJEOpts
21-
22-
DJANGO_ECHARTS = DJEOpts(
23-
echarts_version='4.8.0',
24-
dms_repo='pyecharts',
25-
)
2614
```
2715

2816
## 配置选项 DJEOpts

0 commit comments

Comments
 (0)