Re: OneToOne and related models

2008-07-15 Thread alex finn
Hi Mike, thanks, this really helps and makes complete sense. In this case, could it be a feature request for django to implement bidirectional delete for related models in OneToOne case? It is not a complex thing for me to override delete method for the model and thus get the bidirectional delete

Re: OneToOne and related models

2008-07-15 Thread alex finn
Here's the code example that shows the issue: models.py: http://dpaste.com/65040/ tests.py: http://dpaste.com/65041/ This test fails as Place instance was not deleted --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "

OneToOne and related models

2008-07-14 Thread alex finn
Hi Everybody, I need some assistance on django's OneToOne mapping implementation. Several days ago I started a discussion in django-users but didn't get too much of feedback :( Here it is: http://groups.google.com/group/django-users/browse_thread/thread/8b30b3bdc157e2ba/5102e779805b0510#5102e779