Code


Version 1 (modified by oubiwann, 9 years ago) (diff)

--

Common Pitfalls - Data Models

Foreign Keys

the 'edit_inline' option

Problem

As mentioned elsewhere in the documentation, if you are using edit_inline in data model's foreign key, be sure the rest of your fields use the option core=True. Failure to do so will lead to obscure errors or no errors.

Symptoms

Data not being posted to the database with a refresh of the "add" screen.