• 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
Name
Last commit
Last update
..
contrib Loading commit data...
form Loading commit data...
model Loading commit data...
static Loading commit data...
templates/admin Loading commit data...
tests Loading commit data...
translations Loading commit data...
__init__.py Loading commit data...
_backwards.py Loading commit data...
_compat.py Loading commit data...
actions.py Loading commit data...
babel.py Loading commit data...
base.py Loading commit data...
helpers.py Loading commit data...
tools.py Loading commit data...