Consider using taggable-mixin: http://code.google.com/p/taggable-mixin/

It is extracted from my blogging software, and it solves exactly the
problem that you are facing.

On Nov 25, 12:11 pm, phpDays <anton.danilche...@gmail.com> wrote:
> Hi all!
>
> Please, explain me how to implement next.
>
> Used two models for Blog application:
>
> class BlogPost(db.Model):
>   title = db.StringProperty()
>   text = db.TextProperty()
>   tags = db.ListProperty(BlogTag)
>
> class BlogTag(db.Model):
>   name = db.StringProperty()
>   # count of all posts marked at this tag
>   count = db.IntProperty()
>
> Please, help me understand how is good way to implement this task. I
> have find all tags for selected post, and also select all posts for
> specified tag name. How it implemented in AppEngine?
>
> Thanks! (I'am sorry if this very simple question for you)

--

You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.


Reply via email to