Commit 1ffa1a9b authored by Adrian Holovaty's avatar Adrian Holovaty
Browse files

Fixed #2054 -- Added a bit of docs to the 'core' field docs in model-api.txt

git-svn-id: http://code.djangoproject.com/svn/django/trunk@3042 bcc190cf-cafb-0310-a4f2-bffc1f526a37
parent 8ac9bb7d
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -488,6 +488,10 @@ cleared, the object will be deleted.
It is an error to have an inline-editable relation without at least one
``core=True`` field.

Please note that each field marked "core" is treated as a required field by the
Django admin site. Essentially, this means you should put ``core=True`` on all
required fields in your related object that is being edited inline.

``db_column``
~~~~~~~~~~~~~