Using aspen instead of homespun wsgi thingy
This commit is contained in:
6
ares/www/people/%id.json
Normal file
6
ares/www/people/%id.json
Normal file
@@ -0,0 +1,6 @@
|
||||
from person_model import PersonModel
|
||||
__people__ = PersonModel()
|
||||
|
||||
response.body = {'person': __people__.get(int(path['id']))}
|
||||
|
||||
# vim:filetype=python
|
Reference in New Issue
Block a user