Andy Shaw wrote:

> PS: would Luke's GenericForeignKey allow for inline editing, assuming it
> was to be adopted? Personally I'd much rather be able to alter a row's
> permissions on its own admin page than have to switch table.

There would have to be very specialised support for it.  I haven't been
following carefully, but I imagine the permissions systems won't affect
existing tables, or the model definitions, so there is no way for a
model to know it has a GenericForeignKey pointed at it -- precisely
because it is generic and no relationship exists at the database level.
 (I currently have a utility method to add the relevant descriptor
attributes to models, but you have to call it manually, and it doesn't
even appear in the models field list (MyModel._meta.fields))

Luke


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to django-developers@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-developers
-~----------~----~----~----~------~----~------~--~---

Reply via email to