From 8868c9da990c098b91c51f0bde77a2f96cd8d18c Mon Sep 17 00:00:00 2001 From: Florent Date: Wed, 3 Sep 2014 14:08:56 +0200 Subject: [PATCH] Move storage in advanced topics --- docs/source/guides/module.rst | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/docs/source/guides/module.rst b/docs/source/guides/module.rst index c60ca524..f0d0984d 100644 --- a/docs/source/guides/module.rst +++ b/docs/source/guides/module.rst @@ -148,17 +148,6 @@ For example:: Value('regexp', label='Birthday', regexp='^\d+/\d+/\d+$'), ValueInt('integer', label='A number', required=True)) -Storage -------- - -The application can provide a storage to let your backend store data. So, you can define the structure of your storage space:: - - STORAGE = {'seen': {}} - -To store and read data in your storage space, use the ``storage`` attribute of your :class:`BaseBackend ` -object. - -It implements the methods of :class:`BackendStorage `. Implement capabilities ---------------------- @@ -477,3 +466,16 @@ Here, when the application has got a :class:`Video ` will get all of the missing informations, we just call it with the object as parameter to complete it. + + +Storage +------- + +The application can provide a storage to let your backend store data. So, you can define the structure of your storage space:: + + STORAGE = {'seen': {}} + +To store and read data in your storage space, use the ``storage`` attribute of your :class:`BaseBackend ` +object. + +It implements the methods of :class:`BackendStorage `.