Changes between Version 13 and Version 14 of DeveloperGuidelines/WebServices


Ignore:
Timestamp:
08/11/09 01:52:38 (16 years ago)
Author:
Fran Boon
Comment:

PEP8

Legend:

Unmodified
Added
Removed
Modified
  • DeveloperGuidelines/WebServices

    v13 v14  
    1515def display_json():
    1616    "Designed to be called via AJAX to be processed within JS client."
    17     list=db(db.table.id==t2.id).select(db.table.ALL).json()
    18     response.view='plain.html'
     17    list = db(db.table.id==t2.id).select(db.table.ALL).json()
     18    response.view = 'plain.html'
    1919    return dict(item=list)
    2020}}}
     
    3838def organisation():
    3939    "RESTlike CRUD controller"
    40     return shn_rest_controller(module,'organisation')
     40    return shn_rest_controller(module, 'organisation')
    4141}}}
    4242