removed api collections json, fixed spilling list:string widget

This commit is contained in:
mdipierro
2015-03-18 18:19:15 -05:00
parent 058d6863a6
commit f9212bc75e
3 changed files with 2 additions and 14 deletions

View File

@@ -6,7 +6,6 @@
## - index is the default action of any application
## - user is required for authentication and authorization
## - download is for downloading files uploaded in the db (does streaming)
## - api is an example of Hypermedia API support and access control
#########################################################################
def index():
@@ -58,14 +57,3 @@ def call():
return service()
@auth.requires_login()
def api():
"""
this is example of API with access control
WEB2PY provides Hypermedia API (Collection+JSON) Experimental
"""
from gluon.contrib.hypermedia import Collection
rules = {
'<tablename>': {'GET':{},'POST':{},'PUT':{},'DELETE':{}},
}
return Collection(db).process(request,response,rules)

View File

@@ -57,7 +57,7 @@ ul.w2p_list {
}
.w2p_list li input {
display: inline-block;
width: 90%;
width: 85%;
margin-right: 4px;
}
.w2p_list li a {