Changes between Version 35 and Version 36 of BluePrintRESTImplementation
- Timestamp:
- 01/17/09 18:46:46 (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
BluePrintRESTImplementation
v35 v36 77 77 """ 78 78 79 table=db['%s_%s' % (module,resource)] 79 _table='%s_%s' % (module,resource) 80 table=db[_table] 80 81 if resource=='setting': 81 82 s3.crud_strings=shn_crud_strings_lookup(resource) … … 83 84 s3.crud_strings=shn_crud_strings_lookup(table) 84 85 try: 85 s3.deletable=not s3.undeletable[ '%s' %table]86 s3.deletable=not s3.undeletable[_table] 86 87 except: 87 88 s3.deletable=True 88 89 try: 89 s3.listadd=not s3.listonly[ '%s' %table]90 s3.listadd=not s3.listonly[_table] 90 91 except: 91 92 s3.listadd=True