c2c.sqlalchemy.rest:用于简单SQLAlchemy对象的REST接口

时间:2021-05-19 09:21:15
【文件属性】:
文件名称:c2c.sqlalchemy.rest:用于简单SQLAlchemy对象的REST接口
文件大小:15KB
文件格式:ZIP
更新时间:2021-05-19 09:21:15
Python c2c.sqlalchemy.rest 用它 在/model.py : from pyramid . security import Allow , Authenticated , ALL_PERMISSIONS class Object ( Base ): __tablename__ = 'object' __table_args__ = { 'autoload' : True } __acl__ = [ ( Allow , 'admin' , ALL_PERMISSIONS ), ( Allow , 'editor' , ( 'view' , 'edit' , 'new' , 'delete' )), ( Allow , Authenticated , ( 'view' )), ]
【文件预览】:
c2c.sqlalchemy.rest-master
----setup.py(3KB)
----.gitignore(44B)
----c2c()
--------__init__.py(2KB)
--------sqlalchemy()
----requirements.txt(49B)
----Makefile(2KB)
----.travis.yml(421B)
----MANIFEST.in(19B)
----setup.cfg(191B)
----README.rst(6KB)
----tests()
--------template_test_extjs.html(2KB)
----travis()
--------status.sh(260B)
--------pip.sh(501B)
--------quote(6KB)
----travis.mk(43B)
----dev-requirements.txt(133B)

网友评论