Forms with read only fields

2010-03-20 Thread Peter Reimer
Hi Folks, I'm looking for a way to get the following done: Depending on different things (user, groups, rights, etc.) I want to show a form with fields that can either be changed or not. For example, a form with two fields for name and hobby, an admin can change both fields, a normal user can

Hierarchical data containing different models

2010-02-24 Thread Peter Reimer
Hi folks, I'm looking for a solution/tip for the following problem: I need to store hierarchical data, but, with two different kinds of objects (groups and items). I googled around and found the often suggested mptt package. It looks really great, but I'm not sure about the best way to save