用于cms plugin forms builder的django cms插件
cmsplugin-forms-builder的Python项目详细描述
#cmsplugin窗体生成器
啊![截图](https://raw.githubusercontent.com/nimbis/cmsplugin-forms-builder/master/screenshots/readme.png)
啊![屏幕截图2](https://raw.githubusercontent.com/nimbis/cmsplugin-forms-builder/master/screenshots/readme2.png)
###一个[django forms builder](https://github.com/stephenmcd/django-forms-builder)插件,用于[django cms](https://github.com/divio/django-cms)
此插件提供了插入django forms builder表单的简单方法 作为Django CMS插件。为了使用ajax发布表单,您将需要在项目中覆盖django form s builder的默认build_form.html[模板](https://github.com/stephenmcd/django-forms-builder/blob/master/forms_builder/forms/templates/forms/includes/built_form.html),然后django forms builder的内置视图将适当地处理该表单。请参阅示例[模板](https://github.com/nimbis/cmsplugin-forms-builder/blob/master/sample/templates/forms/includes/built_form.html)以更好地了解其工作原理。
##需要
- django>;=1.8
- django cms>;=3.3.1
- Django窗体生成器
##设置
- 验证Django CMS和Django Forms Builder是否正确安装。
- 运行pip install cmsplugin forms builder或下载此包并运行python setup.py install
- 将“forms\u builder.forms”、“cmsplugin\u forms\u builder”添加到项目的已安装应用程序中。
- 为了通过ajax提交django form s builder表单,需要覆盖django forms builder的默认build_form.html模板。因为每个人的用例都不同,所以这个存储库不附带预定义的模板以便“开箱即用”。但是,我们提供了一个示例[模板](https://github.com/nimbis/cmsplugin-forms-builder/blob/master/sample/templates/forms/includes/built_form.html)来帮助您开始。
贡献
参见[贡献指南](contribution.md)。
##历史记录
v1.1.1(2018年3月29日):
- Organize the plugin in the admin UI with other form plugins.
- Display a useful string description of forms in the admin UI.
v1.1.0(2016年9月8日):
- Adding migration required for Django CMS v3.3.1 and later, which is now required for this app.
1.0.1版:
- Include README.md in the manifest.
v1.0.0版:
- Removed unnecessary code in views.py and urls.py.
- Improved documentation in README
- Added screenshots and sample build_form.html template
- Fixed setup.py, no longer requires pip>=6.0
- Loosened requirements slightly
v0.1.11:
- Update to Django 1.7 migrations
V0.1.4:
- Fixed bug on Safari browser, make sure that ‘cmsplugin_forms_builder’ comes above ‘forms_builder.forms’ in INSTALLED_APPS
v0.1.1:
- Fixed bugs related to imports in views.py
第0.1.0版:
- Initial commit