一组基于类的视图和mixin,用于生成crud接口。
django-cruditor的Python项目详细描述
用法
请参阅Documentation以 了解如何使用django-cruditor。cruditor是一组基于类的通用视图 使用uikit样式的模板。与django-tables2、django过滤器和 django tapeforms这个包提供了一些易于使用的django视图来构建 你定制的crud界面。
要求
django cruditor只支持python 3,至少需要django 1.11。 可选依赖项是django tapeforms、django-tables2和django filter。
准备开发
除了pipenv之外,还需要一个python 3.6解释器。
$ pipenv install --python 3.6 --dev
$ pipenv run pip install -e .
现在你可以运行测试了。
$ pipenv run py.test
现在您已经准备好启动这个示例项目来测试cruditor。
$ pipenv run python examples/manage.py runserver