Re: An idea for a serialization framework

2010-06-23 Thread Andy Kelley
Thanks for the tips guys. I implemented this in my app, and it's interesting, at least. After quite a bit of refactoring, I was left with my solution. I see what you're saying about coupling serialization strategies with model definitions. This is an interesting post-refactoring feeling. Usually a

Re: An idea for a serialization framework

2010-06-23 Thread Russell Keith-Magee
On Wed, Jun 23, 2010 at 6:43 PM, Andy Kelley wrote: > I posted this in django-users but someone said I should post it in > django developers, so here we are. > > I am coming up with a framework that helps serialization of models. My > idea is for each field to have a view permissions level: PUBLIC

Re: An idea for a serialization framework

2010-06-23 Thread Sergej dergatsjev eecho
2010/6/23 Andy Kelley : > I posted this in django-users but someone said I should post it in > django developers, so here we are. > > I am coming up with a framework that helps serialization of models. My > idea is for each field to have a view permissions level: PUBLIC, > OWNER, or ADMIN. I want t

An idea for a serialization framework

2010-06-23 Thread Andy Kelley
I posted this in django-users but someone said I should post it in django developers, so here we are. I am coming up with a framework that helps serialization of models. My idea is for each field to have a view permissions level: PUBLIC, OWNER, or ADMIN. I want to have a model to dict function tha