Projet

Général

Profil

« Précédent | Suivant » 

Révision c62aae38

Ajouté par Jérôme Schneider il y a plus de 9 ans

backends: complete rewrite of the interface

The old interface was to specific for sqlalchemy this new one allow to
write new backends

WARNING: this commit could break compability for some filter which uses
the old interface

Voir les différences:

mandaye/global_config.py
4 4
_PROJECT_PATH = os.path.join(os.path.dirname(__file__), '..')
5 5

  
6 6
# Choose storage
7
# Only mandaye.backends.sql at the moment
7
# Only sql at the moment
8 8
storage_backend = "mandaye.backends.sql"
9 9

  
10 10
## SQL Backend config
......
14 14
# dialect+driver://username:password@host:port/database
15 15
db_url = 'sqlite:///test.db'
16 16

  
17

  
17 18
# urllib2 debug mode
18 19
debug = False
19 20

  

Formats disponibles : Unified diff