Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

31 lines (26 sloc) 0.841 kB
from google.appengine.ext import db
from google.appengine.api import users
class values(object):
posts = db.StringProperty()
feeds = db.StringProperty()
feed_title = db.StringProperty()
feedLink = db.StringProperty()
user = db.StringProperty
values = {
'posts': posts, 'feeds': feeds, 'user' : user,
'feed_title': feed_title, 'feedLink': feedLink}
class Feed(db.Model):
owner = db.UserProperty()
url = db.StringProperty(required=True)
link = db.StringProperty()
title = db.StringProperty()
rsslink = db.StringProperty()
class Post(db.Model):
owner = db.UserProperty()
url = db.StringProperty(required=True)
title = db.StringProperty()
author = db.StringProperty()
summary = db.TextProperty()
category = db.StringProperty()
date = db.DateTimeProperty()
feed = db.ReferenceProperty(Feed, collection_name='feed')
Jump to Line
Something went wrong with that request. Please try again.