Statistics
| Branch: | Tag: | Revision:

root / snf-astakos-app / astakos / quotaholder_app @ a0fcfb35

Name Size
  migrations
__init__.py 1 Byte
callpoint.py 10 kB
commission.py 5 kB
exception.py 2.5 kB
models.py 3.7 kB
tests.py 10.4 kB

Latest revisions

# Date Author Comment
f7b7da5d 05/20/2013 05:48 pm Giorgos Korfiatis

quotaholder: Lock holdings in a single query

Order by primary key when selecting multiple holdings for update;
this most probably ensures that locking will happen in that order.

As per commit 2f90645, we select all holdings for the given holders,
rather that specifying all tuples (holder, source, resource), in order...

2e7924de 05/20/2013 03:14 pm Giorgos Korfiatis

astakos: Remove some unused imports

Also add a missing import in quotas.py

01b8fb9a 05/16/2013 06:41 pm Giorgos Korfiatis

quotaholder: Ignore force option when releasing

Since negative usage makes no sense, we always check this lower
boundary when issuing a commission.

aba462a2 05/16/2013 02:55 pm Giorgos Korfiatis

astakos: Adapt tests to 2.6-style unittest

Define assertGreater, assertIn, assertRaises in snf_django.utils.testing

3a8e56bc 05/14/2013 11:14 am Giorgos Korfiatis

quotaholder: Unify included data in overLimit errors

Replace `available' with `usage' and `limit' in NoQuantityError
to make it similar to NoCapacityError.

7585a768 04/30/2013 06:06 pm Giorgos Korfiatis

quotaholder: Allow resolving empty commissions

When resolving a pending commission, handle the case where the commission
has been issued with no provisions.

69c1afae 04/29/2013 01:36 pm Giorgos Korfiatis

quotaholder: Add migrations

Migration 0001 should be faked on an existing database.
Migration 0002 adds new fields.
Migration 0003 populates the new fields based on the old ones.
Migration 0004 deletes unneeded fields and tables.

ec5e00aa 04/29/2013 12:13 pm Giorgos Korfiatis

Revert quotaholder's name to quotaholder_app

In order to facilitate migrations.

View revisions

Also available in: Atom