• Florian Sachs's avatar
    handle multiple pks in AdminModelConverter.converter() · 22c925e2
    Florian Sachs authored
    * New helper-function `contrib.sqla.tools.has_multiple_pks(model)`
    * The unique validator is only added to the primary key column in `converter()`, when the model does not have multiple primary keys.
    * Removed option `form_excluded_pk_columns_from_unique_validation`
    * documentation updated
    * example updated
    22c925e2
base.py 35.2 KB