Core module of django orm extensions package. (Collection of third party plugins build in one unified package)
Clone or download
Latest commit 3f64dfa Dec 15, 2013
Type Name Latest commit message Commit time
Failed to load latest commit information.
djorm_core Port to django1.6 changes from 0.6 version. Dec 15, 2013
testing Update settings. Dec 15, 2013
.gitignore Initial commit. (import from django-orm-extensions) Sep 15, 2012
CHANGES.rst Update changelog. Dec 15, 2013
LICENSE Bug fixes. Oct 1, 2012
README.rst Fix typo Oct 22, 2012 Increment version to 0.7 Dec 15, 2013


django-orm-extensions core module

This module contaisn all basic and generic improvements needed by all submodules.

PostgreSQL server side cursors

For most cases, the normal cursor and django psycopg2 are more than enough. But there are cases where we have to do queries to tables with large amounts of data, and we need an efficient way to query this data.

On first step, put djorm_core.postgresql in your INSTALLED_APPS.

This is a simple example of usage:

from djorm_core.postgresql import server_side_cursors

with server_side_cursors():
    for item in Model.objects.all():
        print item.value