<one-to-one> create a one to one relationship

name
one-to-one
xml namespace
http://moyaproject.com/db

A one to one is a foreign key, that create a single reference to the other model. This is reflected in the remote side which has a reference to the linked object, rather than a collection.

inherited attributes
name purpose type required? default choices
backref Back reference text No
blank Allow empty field in Moya admin? boolean No
default Default value if not set explicitly text No
help Additional help text for use in object forms text No
index Generate a db index? boolean No no
label Short description of field purpose text No
model Model element reference text Yes
name Name of the foreign key in the model text Yes
null Allow Null? boolean No yes
options Objects to consider in admin forms database expression No
orderby Default order for admin forms text No "id"
owned Is this model owned by the referenced model? boolean No no
owner Does this model own the referenced object? boolean No no
picker Picker table for admin view text No
primary Primary key? boolean No no