Change iterative to algorithm in slot allocator
commitb5f1e89dad7221780cac43e55dc27e0b786f7165
authorSverre Rabbelier <srabbelier@gmail.com>
Thu, 9 Apr 2009 22:05:44 +0000 (9 22:05 +0000)
committerSverre Rabbelier <srabbelier@gmail.com>
Thu, 9 Apr 2009 22:05:44 +0000 (9 22:05 +0000)
treed9e63f97e1fc61b2ea4c773c92332cc83063d376
parent97b37f9452ad15e60995a02e8042b65a813ac333
Change iterative to algorithm in slot allocator

Also store the slots in program model instead of in each org.

Patch by: Sverre Rabbelier
app/soc/logic/allocations.py
app/soc/views/models/program.py
tests/app/soc/logic/test_allocations.py