#11807: Admin inlines onetoone related object not saved
----------------------------------------+-----------------------------------
 Reporter:  neme...@twilightzone.lu     |       Owner:  nobody    
   Status:  new                         |   Milestone:            
Component:  Uncategorized               |     Version:  1.1       
 Keywords:  admin inline onetoone save  |       Stage:  Unreviewed
Has_patch:  0                           |  
----------------------------------------+-----------------------------------
 Hi there,

 I have the following models:

 class A(models.Model):
    id = models.AutoField(primary_key=True)

 class B(models.Model):
    mya = models.OneToOneField(A, primary_key=True)
    text = models.TextField(default='Init')

 In admin interface, I have used an inline to include B when
 changing/adding an A. Adding/Changing an A without touching the B inline
 results in A beeing saved, but not B. Changing the textfield from B into
 sth other than default and it works, but I want the default beeing saved
 too.

 Thanks!
 Jean

-- 
Ticket URL: <http://code.djangoproject.com/ticket/11807>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to