Re: object with version

2011-04-21 Thread Oleg Lomaka
Take a look at django-reversion On Thu, Apr 21, 2011 at 5:43 PM, Brian Craft wrote: > I need to create objects with version tracking, a bit like wiki > content. Anyone done this in django? > > I could create a model with a content field and a version field. But > I'm not sure how to query (for ex

object with version

2011-04-21 Thread Brian Craft
I need to create objects with version tracking, a bit like wiki content. Anyone done this in django? I could create a model with a content field and a version field. But I'm not sure how to query (for example) all the latest versions of a set of objects. I'm sure there's a raw sql method via joins