I am working on a better proposal. I will post it here as soo as I can. On Friday, March 23, 2012, Alex Ogier <[email protected]> wrote: > Re: Facebook integration. If you want your app to go viral at all, then requiring Facebook permissions the moment someone hits your site is going to put a damper on things. Much better to have it only for actions that require identity, such as adding a recipe or recommending recipes or whatever. > Anyways, that's not actually the main point of the discussion. I think having a field that encompasses some collection is pretty cool. I have personally made several models in my time that were never intended to be queried individually, but rather just had a single foreign key to a parent model and behaved like a bag of values. The code to manipulate them ends up everywhere: contrib.admin needs StackedInlines, forms need InlineFieldsets, etc. even though the model is really just there to match relational databases' notions about how data is represented. A semantic collection that boils down to an auto-generated table would be very cool; I picture it working something like ManyToManyFields do. The support is already in django core for tables that serve as auto-generated intermediaries. > Once you have semantic collections as fields, all sorts of things are possible. contrib.admin can provide inlines for free. ModelForms can provide inlines for free. Also, the non-relational fork of Django might be able to take advantage of them. > I second Russell's request for a better description of what you are proposing exactly, because the concept I constructed for myself doesn't necessarily match your conception. > -Alex Ogier > > -- > You received this message because you are subscribed to the Google Groups "Django developers" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to [email protected]. > For more options, visit this group at http://groups.google.com/group/django-developers?hl=en. >
-- Roy McElmurry IV -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/django-developers?hl=en.
