diff --git a/docs/coercion.rst b/docs/coercion.rst deleted file mode 100644 index 102faaa..0000000 --- a/docs/coercion.rst +++ /dev/null @@ -1,10 +0,0 @@ -Using automatic data coercion -============================= - -SQLAlchemy-Utils provides various new data types for SQLAlchemy and in order to gain full -advantage of these datatypes you should use coercion_listener. Setting up the listener is easy: - - -.. module:: sqlalchemy_utils.listeners - -.. autofunction:: force_auto_coercion diff --git a/docs/data_types.rst b/docs/data_types.rst index e04d309..dac0a53 100644 --- a/docs/data_types.rst +++ b/docs/data_types.rst @@ -1,7 +1,8 @@ Data types ========== -SQLAlchemy-Utils provides various new data types for SQLAlchemy. +SQLAlchemy-Utils provides various new data types for SQLAlchemy. In order to gain full +advantage of these datatypes you should use automatic data coercion. See :func:`force_auto_coercion` for how to set up this feature. .. module:: sqlalchemy_utils.types diff --git a/docs/index.rst b/docs/index.rst index 3ae66ab..946bc84 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -8,7 +8,7 @@ SQLAlchemy-Utils provides custom data types and various utility functions for SQ .. toctree:: :maxdepth: 2 - coercion + listeners data_types range_data_types aggregates