[Linaro-validation] Going beyond the Django ORM limitations with Postgres