On Friday, March 30, 2012 1:58:08 PM UTC-7, Tyler Kocheran wrote:
>
>
> The real point is that I shouldn't be getting errors if I want to have a 
> OneToOneField inline of an Address on a Person. No matter what side the 
> relation is declared on, inlines should just work™. Maybe it's not the best 
> idea for a data model, but if a user has this requirement, Django should be 
> flexible enough to meet it, and I do think it's a good idea.
>>
>>
>>
>
Now that I understand - I agree.  Looking at this briefly - it would be a 
matter of making the notion of "parent_model" in inlineformset_factory be 
valid on either side of the OneToOne.

This would be some form of letting SingleRelatedObjectDescriptor be as 
valid as a fk in django.forms.models._get_foreign_key()

This actually has very timely bearing on the auth discussion believe it or 
not...

-Preston

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/django-developers/-/OvzZO5iQBl8J.
To post to this group, send email to django-developers@googlegroups.com.
To unsubscribe from this group, send email to 
django-developers+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-developers?hl=en.

Reply via email to