Hello,

http://docs.djangoproject.com/en/dev/topics/db/models/#multi-table-inheritance
says:
The inheritance relationship introduces links between the child model
and each of its parents (via an automatically-created OneToOneField).

http://docs.djangoproject.com/en/dev/ref/models/fields/#onetoonefield
says: Multi-table inheritance is implemented by adding an implicit one-
to-one relation from the child model to the parent model...

The question is: how can I set options of that implicit OneToOneField?
Most interesting is null=True / null=False.

(I want to "inherit" to one class optionally (Invoice Address) and to
one class it is required (Residence Address). Base class is Address.)

Thanks in advance.

Jan Ostrochovsky

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to