Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
121 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,49 @@ | ||
''' | ||
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 | ||
''' | ||
models = ['entries.py'] | ||
creator = {'Entry': 'user'} | ||
published = {} | ||
|
||
''' | ||
which attribute on each Entity can be used as atom <author> element | ||
Example: author = {'Entry': 'author'} | ||
''' | ||
author = {'Entry': 'user'} | ||
|
||
''' | ||
<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 = {'Entry': 'published'} | ||
|
||
''' | ||
<updated> | ||
Example: updated = {'Entry': 'updated'} | ||
''' | ||
updated = {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters