django实用程序帮助django开发
django-auxilium的Python项目详细描述
- 自由软件:麻省理工学院许可证
- Github:https://github.com/miki725/django-auxilium
- 文档:http://django-auxilium.readthedocs.org/
关于
< django AuxiLIM是一套实用程序包,作为Django应用程序。 帮助Django工作。“辅助”一词指拉丁语中的帮助。 这个项目是怎么产生的,因为我以前每个人都有一个应用程序 我的django项目名为core或common,我把所有的 实用方法和类,但是在做了几个项目之后, 在整个项目中维护同一个文件夹变得没有效率, 因此,我将其重构为一个单独的可重用包。文档
有关库和最有用功能的一些要点 我们鼓励您查看文档,特别是 Highlights文档。
安装
最简单的安装方法是使用pip:
$ pip install django-auxilium
如果要从源代码安装,也可以使用安装工具安装:
$ python setup.py install
测试
在运行测试之前,您需要安装所有测试依赖项:
$ pip install -r requirements-dev.txt # or $ make install
然后,要运行测试,可以使用Makefile:
$ make test
注意
这个库同时使用函数和doctests
历史记录
0.1.4(2018-05-26)
- 添加:用于设置缓存值的新api。现在可以做Class.method.push(value, *args, **kwargs)。
0.1.3(2018-05-24)
- 修正:django 2.0支持minify中间件。
0.1.2(2017-11-22)
- 修复:不删除HTML标记之间的所有空格。 有时空格对格式很重要。 例如<strong>Hello</strong><i>World</i>不能进一步缩小。
0.1.1(2016-09-26)
- 修正:缓存属性现在允许通过^{tt7}设置缓存值$ 缓存描述符有as_property == True 时的语法
0.1.0(2015-11-26)
- pypi上的第一个版本。
许可证
源代码可以在Github找到。
此库由MIT License:
授权Copyright (c) Miroslav Shubernetskiy Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.