forked from jeffkit/autoforms
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathREADME
More file actions
102 lines (70 loc) · 2.21 KB
/
README
File metadata and controls
102 lines (70 loc) · 2.21 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
===============
About autoforms
===============
create by jeffkit (http://jeffkit.info,@jeff_kit)
autoForms is a Django application with which you can create,modify forms in Admin Panel,and then use the form for information collecting.
------------------
Who need autoforms
------------------
- polling.
- information collecting.
- custom form in workflow.
- you want a dynamic form in your django application.
- etc.....
-----
Links
-----
Browser Source on github : https://github.com/jeffkit/autoforms/
Try the Demo (login:form,password:form) : http://f.jeffkit.info/admin/
----------
how to use
----------
step1: install
- use setup tools
easy_install autoforms
- install from source
git clone git@github.com:jeffkit/autoforms.git
cd autoforms
python setup.py install
step2: config your django project
edit settings.py , add 'autoforms' to INSTALLED_APPS.
if you want to receive email when someone submit the form,set NOTIFY_FORM_CHANGE = True and config the send mail staffs.
step3: syncdb
cd {your project root}
python manage.py syncdb
step4: done,have fun! go and create your own forms.
=================
欢迎使用AutoForms
=================
作者 jeffkit (http://jeffkit.info 、@jeff_kit)
AutoForms是一个Django的应用,通过它,你可以通过非编程的手段在程序运行的过程中定义、创建、修改表单甚至保存表单数据。
---------
使用场景
---------
- 投票,调查
- 信息收集
- 工作流中的自定义表单
- 你需要用到动态表单的Django应用程序
- 等等.....
----
链接
----
到github浏览源码 https://github.com/jeffkit/autoforms/
试用(login:form,password:form) http://f.jeffkit.info/admin/>
-------
如何使用
-------
第一步:安装
使用setuptools安装:
easy_install autoforms
或从源码安装:
git clone git@github.com:jeffkit/autoforms.git
cd autoforms
python setup.py install
第二步:配置
修改项目的settings.py文件,将'autoforms'加入INSTALLED_APPS中。
如果需要在用户提交表单后接收系统通知,则设置 NOTIFY_FORM_CHANGE = True ,同时设置发送Email的其他参数。
第三步:创建数据表
cd至你项目的根目录
python manage.py syncdb
第四步: 完成,开始使用吧。