Statistics
| Branch: | Tag: | Revision:

root / snf-common / synnefo / lib / db @ 1a736ca8

Name Size
  pooled_psycopg2
__init__.py 0 Bytes
intdecimalfield.py 3.2 kB
managers.py 3.7 kB
psyco_gevent.py 2.2 kB
xctx.py 5 kB

Latest revisions

# Date Author Comment
1a736ca8 04/08/2013 04:27 pm Christos Stavrakakis

Use 'python-objpool' instead of 'synnefo.lib.pool'

Use the python-objpool package for pooling resources as object, instead
of the pooling code that existed in snf-common ('synnefo.lib.pool')

Refs #3524

1fd14d3d 03/22/2013 04:23 pm Giorgos Korfiatis

Return EmptyQuerySet on an EmptyResultSet

Refs #3489

Call to as_sql() raises EmptyResultSet in a couple of occasions,
more importantly when filtering based on an empty list: filter(field__in=[]).

a6a152d6 03/22/2013 03:55 pm Giorgos Korfiatis

Move managers.py in synnefo.lib.db

This makes it easier to maintain, since it is used in multiple applications
(astakos.im and quotaholder_app).

0275cd41 02/15/2013 12:13 pm Giorgos Korfiatis

pep8 fixes and copyright notice

c5d7bb5d 02/14/2013 04:27 pm Giorgos Korfiatis

Simplify handler's call

f77af2cc 01/30/2013 03:39 pm Giorgos Korfiatis

Rollback, even if transaction is not dirty

This is a temporary bug fix for
https://code.djangoproject.com/ticket/9964 .
Django prior to 1.3 does not set a transaction
dirty when the DB throws an exception, and thus
does not trigger rollback, resulting in a...

11ed5cdc 01/28/2013 09:05 pm Giorgos Korfiatis

Do not postprocess if it's marked for rollback

26e15cff 01/28/2013 07:39 pm Giorgos Korfiatis

Run postprocess in a transaction context too

7d95385b 01/24/2013 12:00 pm Giorgos Korfiatis

Cleanup transaction context

1c65202f 01/23/2013 07:00 pm Giorgos Korfiatis

Remove a debugging print

View revisions

Also available in: Atom