public
Description: Atom REST API for Google App Engine
Homepage:
Clone URL: git://github.com/fczuardi/gae-rest.git
gae-rest / config.py
100644 50 lines (42 sloc) 0.922 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
'''
Configuration File
 
Setup this file according to your application Models as to map their
attributes to the equivalent atom elements.
'''
 
'''
gae-rest needs to import the files containing your Models since it is
unable to dynamic infer what are all the available entity kinds
(content types) in your application
Example: models = ['my_models.py', 'my_expandos.py']
'''
models = []
 
'''
which attribute on each Entity can be used as atom <author> element
Example: author = {'Entry': 'author'}
'''
author = {}
 
'''
<title>
Example: title = {'Entry': 'title'}
'''
title = {}
 
'''
<content>
Example: content = {'Entry': 'body_html'}
'''
content = {}
 
'''
<summary>
Example: summary = {'Entry': 'excerpt'}
'''
summary = {}
 
'''
<published>
Example: published = {'Entry': 'published'}
'''
published = {}
 
'''
<updated>
Example: updated = {'Entry': 'updated'}
'''
updated = {}