This has two effects, the first worse than the other:
1) It means that OneToOneField uniqueness constraints get enforced at the database level, rather than being checked by the validate_unique method on the model. This causes an invalid input in this field to raise IntegrityError, rather than rendering an error message in the admin.
2) It means you cannot put additional validation in the customary clean method of ContentBase derivatives.
This will probably require a minor rewrite of get_form in apps.pages.admin.PageAdmin.
This has two effects, the first worse than the other:
1) It means that
OneToOneField
uniqueness constraints get enforced at the database level, rather than being checked by thevalidate_unique
method on the model. This causes an invalid input in this field to raiseIntegrityError
, rather than rendering an error message in the admin.2) It means you cannot put additional validation in the customary
clean
method ofContentBase
derivatives.This will probably require a minor rewrite of
get_form
inapps.pages.admin.PageAdmin
.