See the model below, class Foo(models.Model): x = model.IntegerField()
Also, a class as follows class Bar(Object): y = 1212121L ----------------------------------------------------------------------------------------- Now, If I modified above Foo like this class Foo(models.Model): x = model.IntegerField() y = Bar() and in the shell, from xyz.models import Foo, Bar a=Foo() b=Bar() b.y=56 a.x=1 a.y=b a.save() # what will happen??? On a.save(), I see no error. Is it that, the extra field y get silently set away while saving!!! -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.