Refactor data type docs

This commit is contained in:
Konsta Vesterinen
2014-01-14 12:15:02 +02:00
parent 95cec3a10a
commit 100d211d99
2 changed files with 14 additions and 10 deletions

View File

@@ -46,14 +46,6 @@ LocaleType
.. autoclass:: LocaleType .. autoclass:: LocaleType
NumberRangeType
^^^^^^^^^^^^^^^
.. module:: sqlalchemy_utils.types.number_range
.. autoclass:: NumberRangeType
PasswordType PasswordType
^^^^^^^^^^^^ ^^^^^^^^^^^^
@@ -102,3 +94,16 @@ UUIDType
.. module:: sqlalchemy_utils.types.uuid .. module:: sqlalchemy_utils.types.uuid
.. autoclass:: UUIDType .. autoclass:: UUIDType
Range types
^^^^^^^^^^^
IntRangeType
------------
.. module:: sqlalchemy_utils.types.range
.. autoclass:: IntRangeType

View File

@@ -45,8 +45,7 @@ class ColorType(types.TypeDecorator, ScalarCoercible):
# '#f5f5f5' # '#f5f5f5'
For more information about colour package and Color object, see: .. _colour: https://github.com/vaab/colour
https://github.com/vaab/colour
""" """
STORE_FORMAT = u'hex' STORE_FORMAT = u'hex'
impl = types.Unicode(20) impl = types.Unicode(20)