-
Notifications
You must be signed in to change notification settings - Fork 25
/
README
109 lines (74 loc) · 2.43 KB
/
README
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
102
103
104
105
106
107
108
===============
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
- install from source
git clone [email protected]:jeffkit/autoforms.git
cd autoforms
python setup.py install
step2: config your django project
edit settings.py , add 'autoforms' 'django.contrib.admin' to INSTALLED_APPS.
edit urls.py, uncomment admin url configs.
if you want to receive email when someone submit the form,set
NOTIFY_FORM_CHANGE = True and config the send mail staffs.
You can also cd to the sample directory, I made a empty project for you:
cd sample
step3: syncdb
python manage.py syncdb
step4: done,have fun! go and create your own forms.
python manage.py runserver
visit: http://localhost:8080/admin
=================
欢迎使用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/>
-------
如何使用
-------
第一步:安装
或从源码安装:
git clone [email protected]:jeffkit/autoforms.git
cd autoforms
python setup.py install
第二步:配置
修改项目的settings.py文件,将'autoforms'加入INSTALLED_APPS中。
如果需要在用户提交表单后接收系统通知,则设置 NOTIFY_FORM_CHANGE = True ,同时设置发送Email的其他参数。
如果想快速体验,你可以直接使用我为您提供的sample项目。
cd sample
第三步:创建数据表
python manage.py syncdb
第四步: 完成,开始使用吧。
python manage.py runserver
访问http://localhost:8080/admin