Bug#762934: Models: Refactor models to contain only ORM abstraction

2015-03-19 Thread Orestis Ioannou
Since my last patch there was some discussion on how to better design this. In the end instead of just moving the queries out of the models it was decided to have 3 files: 1) models.py for the ORM layer 2) navigation.py for all the classes not in the ORM layer 3) queries.py for all the queries. H

Bug#762934: Models: Refactor models to contain only ORM abstraction

2015-03-05 Thread Orestis Ioannou
Hello, I didn't know someone else was working on this. I am sorry if I am double-working. Here is my patch. Cheers, Orestis From 659479c85c91a32e6c645549766b98e4bdcc9717 Mon Sep 17 00:00:00 2001 From: Orestis Ioannou Date: Thu, 5 Mar 2015 09:03:09 +0100 Subject: [PATCH] Models: Refactor models